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
Spmatrix creating empty weighting matricesHi, I'm trying to do a very standard spatial analysis. The aim is to run ML and 2SLS estimations wi…
Interquartile rangeHello, Please can anyone advise how I generate the interquartile range? I have a data example for a…
Testing differences in abnormal returnsusing estudyHello, I am currently performing an event study. I have a Sample of 84 european banks with daily ret…
prevent pagebreak in table putdocxHi I making summary tables in putdocx looping through 100+ cities. The problem is that pagebreaks oc…
ImputationHey guys, I work with panel data and I have the following problem. I've dummy variables from 2 yea…
Subscribe to:
Post Comments (Atom)
0 Response to pc_simulate invalid syntax error
Post a Comment