[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Using -if- when running panel-corrected OLS pooled regressions
I see no limitation on the use of -if- with -xtpcse-.
If your syntax here is a guide to what you typed,
the comma in front of -if- is incorrect.
Or it may be that your way of spelling out
if [13 indvars] ! .
But in any case a condition of that form
is redundant with almost all
estimation commands. Stata automatically
ignores observations with values missing
on the covariates (independent variables,
if you will).
> I've tried to get round this by using -if- to take out
> cases with missings
> on key variables using OLS-PCSE models. I tested this using
> just two Xs,
> and it ran. But when trying the full model:
> -xtpcse [depvar] [50 indvars], if [13 indvars]!=.-,
> it returns an error saying that -if- isn't allowed!
* For searches and help try: