Hi everyone
I have a question about crossover trial analysis.
As an example, I want to use "pkdata3" data and analysis cross over (to see this data please type "webuse pkdata3" in command box in stata).
To analysis crossover, I use "pkcross outcome, param(2)" command. Furthermore I do this analysis with SPSS (from: analyze, General linear model, univariate) and get its result.
In SPSS I enter id variable as covariate because my observations are paired. when I compare stata results with SPSS results, I find the results are different from each other. because in SPSS I entered id variable as covariate and if I do not consider the id variable as covariate, the result will be the same. I know that considering id variable as covariate is correct. would you please tell me how consider this id variable in stata to get the same result?
I have a question about crossover trial analysis.
As an example, I want to use "pkdata3" data and analysis cross over (to see this data please type "webuse pkdata3" in command box in stata).
To analysis crossover, I use "pkcross outcome, param(2)" command. Furthermore I do this analysis with SPSS (from: analyze, General linear model, univariate) and get its result.
In SPSS I enter id variable as covariate because my observations are paired. when I compare stata results with SPSS results, I find the results are different from each other. because in SPSS I entered id variable as covariate and if I do not consider the id variable as covariate, the result will be the same. I know that considering id variable as covariate is correct. would you please tell me how consider this id variable in stata to get the same result?
Comment