Search found 9 matches

by undergrad
Tue Aug 12, 2014 12:09 pm
Forum: Programming
Topic: Constants in First Differenced Equations
Replies: 1
Views: 1813

Constants in First Differenced Equations

I am attempting to execute first differenced equations that include polynomial lags. I do not want the first differenced equations to contain a constant, as the constant should cancel out of this type of equation. However, I got a lag specification error in my first differenced regression equation e...
by undergrad
Thu Jul 31, 2014 8:25 am
Forum: Programming
Topic: Wald F-Statistic and Probability(Wald F-Statistic)
Replies: 9
Views: 7397

Re: Wald F-Statistic and Probability(Wald F-Statistic)

Alright, that's unfortunate. Thanks for the quick responses. I've got it all working with a conditional based on the string contents of the general statistic cells.
by undergrad
Thu Jul 31, 2014 7:40 am
Forum: Programming
Topic: Wald F-Statistic and Probability(Wald F-Statistic)
Replies: 9
Views: 7397

Re: Wald F-Statistic and Probability(Wald F-Statistic)

Look at eq2 and eq3. eq2 is !X=2, !OL=3 !TFPL=3 !TSAL=4 eq3 is !X=3 !OL=3 !TFPL=3 !TSAL=5 Both eqs have !D=3, !C=1. eq!X.ls(cov=hac) ps1 c time pdl(ipr,!OL,!D,!C) pdl(un,!OL,!D,!C) pdl(unionprq,!OL,!D,!C) pdl(unipr,!OL,!D,!C) pdl(unionipr,!OL,!D,!C) pdl(tsaspl,!TSAL,!D,!C) pdl(tfp4,!TFPL,!D,!C) Eq2 ...
by undergrad
Thu Jul 31, 2014 6:55 am
Forum: Programming
Topic: Wald F-Statistic and Probability(Wald F-Statistic)
Replies: 9
Views: 7397

Re: Wald F-Statistic and Probability(Wald F-Statistic)

I also have a constant in every equation (eq!X.ls(cov=hac) ps1 c time ...), is there another criterion?

Sorry about this...
by undergrad
Thu Jul 31, 2014 6:36 am
Forum: Programming
Topic: Wald F-Statistic and Probability(Wald F-Statistic)
Replies: 9
Views: 7397

Re: Wald F-Statistic and Probability(Wald F-Statistic)

eq!X.ls(cov=hac) ps1 c time pdl(ipr,!OL,!D,!C) pdl(un,!OL,!D,!C) pdl(unionprq,!OL,!D,!C) pdl(unipr,!OL,!D,!C) pdl(unionipr,!OL,!D,!C) pdl(tsaspl,!TSAL,!D,!C) pdl(tfp4,!TFPL,!D,!C) For each regression I am running, I'm using the Newey West option, so shouldn't every model have robust standard errors ...
by undergrad
Wed Jul 30, 2014 12:10 pm
Forum: Programming
Topic: Wald F-Statistic and Probability(Wald F-Statistic)
Replies: 9
Views: 7397

Re: Wald F-Statistic and Probability(Wald F-Statistic)

I'm attempting to store the sum of lagged t statistics for a number of PDL regression models. To do this, I am freezing each PDL regerssion output into a table and attempting to select the sum of lagged t statistics for a specific variable. Where this sum is in the table is dependent on the # of lag...
by undergrad
Wed Jul 30, 2014 12:00 pm
Forum: Programming
Topic: Wald F-Statistic and Probability(Wald F-Statistic)
Replies: 9
Views: 7397

Wald F-Statistic and Probability(Wald F-Statistic)

Sorry, I meant: 'This calculates the sum of lagged t statistics for a number of variables freeze(tablet!X) eq!X 'Add something like, if (condition for appearance of Wald) !tsa= 1 + 19 + 2 + (!D*7) + ((3 + !OL+1 + 2)*5) + (3 + !TSAL + 1 + 2) else, !tsa=19 + 2 + (!D*7) + ((3 + !OL+1 + 2)*5) + (3 + !TS...
by undergrad
Wed Jul 23, 2014 1:37 pm
Forum: Programming
Topic: storing the sum of lags for multiple variables and models
Replies: 3
Views: 4042

Re: storing the sum of lags for multiple variables and model

I'm unfortunately still having issues. This is an example of a subset of regressions I am running, followed by an attempt at storing the coefficient values in a matrix. I'm getting two types of errors, either a non-numeric value error or a matrix size mismatch error. They both happen with the very f...
by undergrad
Wed Jul 23, 2014 11:11 am
Forum: Programming
Topic: storing the sum of lags for multiple variables and models
Replies: 3
Views: 4042

storing the sum of lags for multiple variables and models

I'm working on a project in which I need to compare statistics for PDL regressions over many different models. I would like to store the sum of lags coefficient and t-Statistic for specific variables in each model. So far, I have been able to store the Akiake info criterion, Schwarz criterion and Du...

Go to advanced search