Dear all,
I am trying to use the command pc_simulate from the package PC_PANEL.
I get a "syntax error" whatever I try.
Here is an example:
clear
set obs 100
gen id = _n
gen dep1 = rnormal(10,1)
gen dep2 = dep1+rnormal(0,10)
reshape long dep, i(id) j(time)
pc_simulate dep , model(ANCOVA) mde(0.1) i(id) t(time) n(32) p(0.5) pre(1) post(1) alpha(0.05) ///
nsim(10) replace
OUTPUT:
invalid syntax
r(198);
end of do-file
r(198);
I absolutely don't find the error and your help would be greatly appreciated.
Related Posts with pc_simulate invalid syntax error
xtabond2 how to get the best result.Hello, This is my first time running a GMM model. Using below command; xtabond2 trisk l.trisk bind …
Hierarchical ordered probit modelHi, I would love to estimate an hierarchical ordered probit model, but I have only found the comman…
How to include several interaction terms within one syntaxHello Guys, I have a model in which variable m moderates 5 different independent variables (x1,x2,x…
Using subpop reg to compare regression coefficients between groups.I am investigating how access to water and toilets in the household affects educational attainment i…
Renaming an existing sheet in excel via xl() or putexcelHi im not sure if this is possible or not, but does anyone know if you can rename an existing sheet …
Subscribe to:
Post Comments (Atom)
0 Response to pc_simulate invalid syntax error
Post a Comment