predict.fixed和predict.Subject在nlme预测函数中的意义

时间:2016-09-09 08:43:58

标签: r nlme

我试图了解预测值在nlme

中的预测函数中的含义

我正在使用predict函数的nlme手册中给出的数据和代码作为示例

library(nlme)
fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
    newOrth <- data.frame(Sex = c("Female","Female","Female","Female","Male","Male"),
                          age = c(15, 20, 10, 12, 2, 4),
                          Subject = c("M01","M01","F30","F30","M04","M04"))
    ## The  Orthodont  data has *no*  F30 , so predict  NA  at level 1 :
    predict(fm1, newOrth, level = 0:1)

predict.fixedpredict.Subject列之间有什么区别?

我认为,如果我们省略levels参数,我们会得到每个主题的age的每个请求值的预测值,并且这是0中的0:1 levels参数的predict.fixed。但是什么是<TabControl Name="tabControl" Grid.Row="0" MinWidth="270" HorizontalAlignment="Stretch" ItemsSource="{Binding Counters}" ContentTemplate="{StaticResource templateForTheContent}" ItemTemplate="{StaticResource templateForTheHeader}"> </TabControl> 以及它是如何有用的?

0 个答案:

没有答案