Search found 6 matches
- Wed Apr 01, 2009 6:56 am
- Forum: Programming
- Topic: How to show "adjusted r-squared"?
- Replies: 2
- Views: 6083
Re: How to show "adjusted r-squared"?
Thanks a lot!
- Tue Mar 31, 2009 2:23 pm
- Forum: Programming
- Topic: How to show "adjusted r-squared"?
- Replies: 2
- Views: 6083
How to show "adjusted r-squared"?
Dear all,
Is it possible to run a regression (equ01) and store the adjusted r-squared into a scalar (scalar01)? If not, is it possible to compare equ01 and equ02's adjusted r-squared by programming?
Thank you very much!!!
Is it possible to run a regression (equ01) and store the adjusted r-squared into a scalar (scalar01)? If not, is it possible to compare equ01 and equ02's adjusted r-squared by programming?
Thank you very much!!!
- Thu Oct 30, 2008 8:22 am
- Forum: Programming
- Topic: Similar question to previous post, except it is a matrix.
- Replies: 2
- Views: 6340
- Wed Oct 29, 2008 2:25 pm
- Forum: Programming
- Topic: Similar question to previous post, except it is a matrix.
- Replies: 2
- Views: 6340
Similar question to previous post, except it is a matrix.
I have a matrix A , what i want to do is if each factor is greater than 65, then matrix B= (factor-65), else factor returns 0. I tried to create a new matrix S full of 65(same dimension as matrix A) and using code matrix new_A = (A>65)*(A-65)+(A<=65)*0 However, it returns a matrix full of 0(@recode ...
- Wed Oct 29, 2008 11:59 am
- Forum: Programming
- Topic: how should i write codes about this? Thank you!
- Replies: 2
- Views: 6398
Re: how should i write codes about this? Thank you!
It works very well! Thanks a lot!
- Wed Oct 29, 2008 11:22 am
- Forum: Programming
- Topic: how should i write codes about this? Thank you!
- Replies: 2
- Views: 6398
how should i write codes about this? Thank you!
I have a series called A (a1, a2, a3). What i want to do is if (a1,a2,a3) >65 then a new series B = (a1-65,a2-65,a3-65) generated; if not then the observation which below 65 returns 0. For example, A = (98,68,63) then B = (98-65,68-65,0)=(33,3,0). My code is like if A > 65 then genr B = A-65 else ge...
