由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - a quesiton about random effect
相关主题
在RUN一段SAS CODE统计新人问个自学SAS的问题
# of subjects/clusters in mixed modelregression analysis for 3-level hierarchical data
请教如何用proc glimmix 分析 repeated measures with binary outcome.【包子】求学习材料proc glimmix with poisson distribution
mixed model 问题,请各位帮忙。proc nlmixed很豪放
[SAS]programming statement in Proc GLMMIX/NLMIX/MODEL求教 顾客各种属性\所定杂志 PATTERN 的分析
regression prediction问题接着问统计问题(有包子答谢)
求教 nlme in R一个理论题
求大侠指点,GEE macro in SAS关于Generalized Linear Mixed Models(GLMMs)的问题
相关话题的讨论汇总
话题: random话题: effect话题: study话题: quesiton话题: level
进入Statistics版参与讨论
1 (共1页)
F8
发帖数: 348
1
dataset with
a binary outcome y/n
4 different studies (treated as an 4-level categorical variable) and 3
treatment for each study
in a logistic model
found significant interaction of trt*study
Now try to consider random effect with study level covariate
As I know that nlmixed can only handle two random effects, in this case
Is there a way to fit a random effect model by treating study as a random
effect?
c********h
发帖数: 330
2
你是说computationally?
try lme4 package in R
glmer(y ~ trt + (trt|study), family = "binomial")
F8
发帖数: 348
3
我的问题是这种情况下用 nlmixed 怎么来 fit random study effect
glmer 相当于sas glimmix ?
能解释一下什么意思吗
哪个是fixed/random effect in this model
study 是categorical 还是 numeric

【在 c********h 的大作中提到】
: 你是说computationally?
: try lme4 package in R
: glmer(y ~ trt + (trt|study), family = "binomial")

d********t
发帖数: 837
4
If all you want is study as random effect and treatment as fixed effect ,
that is literally the most straightforward case for glimmix. Not sure what
you are going for .

dataset with a binary outcome y/n4 different studies (treated as an 4-level
categorical ........

【在 F8 的大作中提到】
: dataset with
: a binary outcome y/n
: 4 different studies (treated as an 4-level categorical variable) and 3
: treatment for each study
: in a logistic model
: found significant interaction of trt*study
: Now try to consider random effect with study level covariate
: As I know that nlmixed can only handle two random effects, in this case
: Is there a way to fit a random effect model by treating study as a random
: effect?

F8
发帖数: 348
5
I did it actually
the results from glimmix with or without random effects in this case are
identical to the
4-th decimal which is hard to understand

level

【在 d********t 的大作中提到】
: If all you want is study as random effect and treatment as fixed effect ,
: that is literally the most straightforward case for glimmix. Not sure what
: you are going for .
:
: dataset with a binary outcome y/n4 different studies (treated as an 4-level
: categorical ........

1 (共1页)
进入Statistics版参与讨论
相关主题
关于Generalized Linear Mixed Models(GLMMs)的问题[SAS]programming statement in Proc GLMMIX/NLMIX/MODEL
NLMIXEDregression prediction问题
longitudinal data analysis里面,GEE model 和 mixed model两个方法各有什么优越性吗?求教 nlme in R
sas code 求助求大侠指点,GEE macro in SAS
在RUN一段SAS CODE统计新人问个自学SAS的问题
# of subjects/clusters in mixed modelregression analysis for 3-level hierarchical data
请教如何用proc glimmix 分析 repeated measures with binary outcome.【包子】求学习材料proc glimmix with poisson distribution
mixed model 问题,请各位帮忙。proc nlmixed很豪放
相关话题的讨论汇总
话题: random话题: effect话题: study话题: quesiton话题: level