Hi Tom,
Could we use it to do a one-sample Wilcoxon signed-rank test?
I want to test if one sample set median is zero or not.
Frank
Search found 15 matches
- Sat Jun 05, 2021 4:17 am
- Forum: RATS Procedures
- Topic: MANNWHITNEY—Mann-Whitney-Wilcoxon test
- Replies: 1
- Views: 9078
- Tue Oct 06, 2020 1:00 pm
- Forum: Data: Reading, Writing, Transforming
- Topic: how to use smpl twice in linreg
- Replies: 1
- Views: 6220
how to use smpl twice in linreg
Hi Tom, I'd like to do a regression model based on two variables, so I need to partition the data into four subgroups by using two variables. For example: linreg(smpl=mbratio>%mean, smpl=FCF>median) but it doesn't work. Or, I need to use SAMPLE to partition the data in the first step? Frank
- Sat Jul 04, 2020 1:35 pm
- Forum: Other Time Series Analysis
- Topic: How RATS preduce FITTED values when some inputs are missing
- Replies: 9
- Views: 59715
Re: How RATS preduce FITTED values when some inputs are miss
wondering how to use %prjfit, is the following code correct? but it didn't work.
set a = %prjfit(xvector)
is there any example about %PRJCDF and %PRJDENSITY?
set a = %prjfit(xvector)
is there any example about %PRJCDF and %PRJDENSITY?
TomDoan wrote:prj fitted_value
print 1 10 fitted_value
will work. You can't have a space inside a variable name (_ is OK).
- Fri Jul 03, 2020 1:29 pm
- Forum: Other Time Series Analysis
- Topic: How RATS preduce FITTED values when some inputs are missing
- Replies: 9
- Views: 59715
Re: How RATS preduce FITTED values when some inputs are miss
If one would like to fit the value in sample, For example, if I want to check the fitted value of the regression model, and I want to use the fitted value series to do other procedures. the PRJ needs to be used here, is it correct? linreg hours # constant lwage educ age kidslt6 kidsge6 nwifeinc prj ...
- Fri Jul 03, 2020 12:05 pm
- Forum: Other Time Series Analysis
- Topic: How RATS preduce FITTED values when some inputs are missing
- Replies: 9
- Views: 59715
Re: How RATS preduce FITTED values when some inputs are miss
Hi, Tom You meant "generally speaking, RATS can't produce a fitted value for Y(t) if the necessary right-hand-side values aren't available", whatif I've got a linreg model, and I want to check the fitted value of Y(t). What should I do to store the fitted value as a series. Since I want to...
- Thu Jul 02, 2020 10:11 pm
- Forum: General Econometrics
- Topic: Ask the two raw equation of 2SLS
- Replies: 5
- Views: 60959
Re: Ask the two raw equation of 2SLS
Thank you for your help. I still have some questions as the code: * INSTRUMENT.RPF * Example of estimation using two-stage least squares. * RATS User's Guide, example from Section 2.5. * Based on example 9.5 from Wooldridge(2010), "Econometrics of Cross * Section and Panel Data", 2nd ed. *...
- Thu Jul 02, 2020 12:40 pm
- Forum: General Econometrics
- Topic: Ask the two raw equation of 2SLS
- Replies: 5
- Views: 60959
Re: Ask the two raw equation of 2SLS
so, in the codes: instruments constant ind ed union fem linreg(inst) wks # constant lwage ed union fem lwage is not in the list of instruments, thus it's an endogenous variable, right ? I thought that the first step is doing : lwang= b0 + b1 ind + b2 ed + b3 union + b4 fem and the second step is wks...
- Thu Jul 02, 2020 10:53 am
- Forum: General Econometrics
- Topic: Ask the two raw equation of 2SLS
- Replies: 5
- Views: 60959
Ask the two raw equation of 2SLS
Hi Tom, I check the code from 10.0 version as follow I'm confused about the 2 step Least Squares in the codes: instruments constant ind ed union fem linreg(inst) wks # constant lwage ed union fem would you please show me the first and the second regression equations? And I'm confused about which one...
- Thu May 16, 2019 9:54 pm
- Forum: VARs (Vector Autoregression Models)
- Topic: Hasbrouck(1995) Information Shares
- Replies: 19
- Views: 129304
Re: Hasbrouck(1995) Information Shares
No, I meant eigen(dmatrix=identity) %sigma * f EIGEN is an instruction, not a function (it has quite a few options to allow it to deal with real or complex matrices). Tom, I know eigen is an instruction, but if compute f=%decomp(%sigma) is replaced by eigen(dmatrix=identity) %sigma * f how about th...
- Thu May 16, 2019 1:47 pm
- Forum: VARs (Vector Autoregression Models)
- Topic: Hasbrouck(1995) Information Shares
- Replies: 19
- Views: 129304
Re: Hasbrouck(1995) Information Shares
Isn't that the same thing but with: * * Compute Cholesky factorization of sigma * compute f=%decomp(%sigma) replaced with an eigenvalue-based factorization eigen(dmatrix=identity) %sigma * f Sorry, didn't get it. Did you mean: ....... * Compute Cholesky factorization of sigma compute f=eigen(dmatri...
- Thu Nov 27, 2014 1:00 pm
- Forum: Other Time Series Analysis
- Topic: about the method of probability weighted moments (PWM)
- Replies: 0
- Views: 4398
about the method of probability weighted moments (PWM)
Hi Tom
I'm using 8.3 version.
is there any src or other example in the textbook talking about the method of PWM?
Frank
I'm using 8.3 version.
is there any src or other example in the textbook talking about the method of PWM?
Frank
- Tue Oct 26, 2010 7:27 pm
- Forum: ARCH and GARCH Models
- Topic: DCC with skewed multivariate t distribution
- Replies: 1
- Views: 6129
DCC with skewed multivariate t distribution
hi, Tom
is there any sample code to Bauwens and Laurent (2005) on JBES.
In this paper, DCC based on skewed multivariate t distribution is adopted.
is there similar code to this ?
Please, thank you.
Frank
is there any sample code to Bauwens and Laurent (2005) on JBES.
In this paper, DCC based on skewed multivariate t distribution is adopted.
is there similar code to this ?
Please, thank you.
Frank
- Tue Oct 26, 2010 7:03 pm
- Forum: Other RATS Usage Questions
- Topic: the question of Value at risk in Tsay (2005) p.313
- Replies: 3
- Views: 11899
Re: the question of Value at risk in Tsay (2005) p.313
In Tsay, (7.26) and (7.28) are the same formulas---it's just that (7.28) is using a specific value for p*. Part I is showing how to invert the GEV, while Part II figures out what probability needs to be input to the GEV inverse to get the desired value. (7.28) is what's being calculated for a VaR. ...
- Mon Oct 25, 2010 9:42 am
- Forum: Other RATS Usage Questions
- Topic: the question of Value at risk in Tsay (2005) p.313
- Replies: 3
- Views: 11899
the question of Value at risk in Tsay (2005) p.313
Hi, Tom I use WinRats 6.35. As I refer the sample codes in the textbook of Tasy's Analysis of F.T. series. in the sample code of p.313, it is calculating value at risk (VaR) based on extreme value theory. And it uses the code as : compute var01=%invgev((1-.01)**n,k,-beta,alpha) From Tasy's book p.31...
- Thu Jun 17, 2010 10:34 am
- Forum: General Econometrics
- Topic: does Rats have quasi-MLE function?
- Replies: 1
- Views: 8200
does Rats have quasi-MLE function?
as the title, parameters estimated by MLE is assumed the distribution follows normal distribution. however, if we set the distribution follow non-normal one, then, we have to apply quasi-MLE. But, I couldn't find the function of QMLE in WinRats. does it have this function? or we don't have to accoun...