Search found 5 matches

by Patrick
Tue Nov 13, 2012 9:15 am
Forum: Estimation
Topic: Stepwise backward with nvars=x
Replies: 3
Views: 3384

Re: Stepwise backward with nvars=x

Thanks Gareth. May I ask why we can not force nvars when going backwards?
by Patrick
Tue Nov 13, 2012 5:13 am
Forum: Estimation
Topic: Stepwise backward with nvars=x
Replies: 3
Views: 3384

Stepwise backward with nvars=x

stepls(method=uni,nvars=4) Works as expected. stepls(method=stepwise,nvars=4) Works as expected as well. stepls(method=uni,nvars=4,back) or stepls(method=stepwise,nvars=4,back) Gives me more than 4 variables but seems to stop on the criterion on p<0.5 regardless of what i set nvars to. Can I run ba...
by Patrick
Mon Oct 22, 2012 6:58 am
Forum: Data Manipulation
Topic: Setting dates for weekly page
Replies: 1
Views: 2254

Setting dates for weekly page

Hi, I have managed to convert my daily stepwise code so that it clusters data on weekly level before running the analysis. My problem is the following code: pagecreate(page="weekly") w 2011-04-05 2012-10-01 I want the two dates to be variables instead of hard coded. The dates I want to use...
by Patrick
Thu Oct 11, 2012 1:32 am
Forum: Programming
Topic: Output variable to file
Replies: 3
Views: 3655

Re: Output variable to file

Thanks Gareth, i tried to do print %day but declaring a string was the solution.

What's the difference between these?

Code: Select all

%test = "Hello" string test = "Hello"
by Patrick
Wed Oct 10, 2012 1:52 am
Forum: Programming
Topic: Output variable to file
Replies: 3
Views: 3655

Output variable to file

Hi, I have a simple regression that I output to a text file via

Code: Select all

... output(t) filename.txt equation eq.stepls() portfolio c @ somegroup eq.stats(p)
I also have a string variable %sometext that I would like to print to the text file somewhere. Anywhere is fine. How do I do this?

Go to advanced search