Hi, Can someone guide me on how to run Bivariate GARCH model with varying Correlations in SAS? Nikhil
Hi, Can someone guide me on how to run Bivariate GARCH model with varying Correlations in SAS? Nikhil
1.Bivariate and multivariate results
Hi I've got a client who is running a lot of multiple regressions. She also wants to present the bivariate results. I've run this as a PROC CORR with the WITH statement, for ease of programming and compact output. I think this makes sense. But I've not seen results presented this way (i.e. a table of correlations, and then a multiple regression). Now, she wants to do a similar regression on a dichotomous DV, which, of course, calls for logistic regression. I could recode the DV as 0 1, and again present the correlations.... again, this gives compact output, and a nice simple program. It's meaningful, since the DV is dichotomous. But will it fly in a journal? Or am I missing something more fundamental? TIA as always Peter Statistical Consultant www DOT peterflom DOT com
2.Correlation estimates in bivariate probit
Hello, I'm using "proc qlim" to estimate bivariate probit, using SAS 8.2. Does anyone know how I can obtain the estimate for correlation between error terms, or "rho", using qlim? I'd appreciate your help! kf
3.Using Proc Tabulate to generate binned bivariate distributions
Am trying to generate standardized bivariate distributions and to include bins without data. For instance, for the following dataset Speed , Dir 0-5 N 11-15 E I'd like to generate the following. Speed Dir N E 0-5 1 0 6-10 11-15 0 1 The 6-10 row could be either missing or null. Other than adding some dummy data with missing values, is there any way to do this (I have data with real missing data and adding dummy missing data is a bit messy). SAS suggested using a proc tabulate rather than proc frequency but I am still unable to generate such tables. See following example which has a skip at 20 (21 in the formatted table). proc format ; value WSmps -9999 -< 0= ' Calm' 0.0 -< 1.0= ' 01' 1.0 -< 2.0= ' 02' 2.0 -< 3.0= ' 03' 3.0 -< 4.0= ' 04' 4.0 -< 5.0= ' 05' 5.0 -< 6.0= ' 06' 6.0 -< 7.0= ' 07' 7.0 -< 8.0= ' 08' 8.0 -< 9.0= ' 09' 9.0 -< 10.0= ' 10' 10.0 -< 11.0= ' 11' 11.0 -< 12.0= ' 12' 12.0 -< 13.0= ' 13' 13.0 -< 14.0= ' 14' 14.0 -< 15.0= ' 15' 15.0 -< 16.0= ' 16' 16.0 -< 17.0= ' 17' 17.0 -< 18.0= ' 18' 18.0 -< 19.0= ' 19' 19.0 -< 20.0= ' 20' 20.0 -< 21.0= ' 21' 21.0 -< 22.0= ' 22' 22.0 -< 23.0= ' 23' 23.0 -< 24.0= ' 24' 24.0 -< 25.0= ' 25' 25.0 -< 26.0= ' 26' 26.0 -< 27.0= ' 27' 27.0 -< 28.0= ' 28' 28.0 -< 29.0= ' 29' 29.0 -< 30.0= ' 30' 30.0 -< 31.0= ' 31' 31.0 -< 32.0= ' 32' 32.0 -< 33.0= ' 33' 33.0 -< 34.0= ' 34' 34.0 -< 35.0= ' 35' 35.0 -< 36.0= ' 36' 36.0 -< 37.0= ' 37' 37.0 -< 38.0= ' 38' 38.0 -< 39.0= ' 39' 39.0 -< 40.0= ' 40' 40.0 -< 41.0= ' 41' 41.0 -< 42.0= ' 42' 42.0 -< 43.0= ' 43' 43.0 -< 44.0= ' 44' 44.0 -< 45.0= ' 45' 45.0 -< 46.0= ' 46' 46.0 -< 47.0= ' 47' 47.0 -< 48.0= ' 48' 48.0 -< 49.0= ' 49' 49.0 -< 50.0= ' 50' 50.0 -< 98.0= ' 50+'; RUN; Data test1; input wS @; mm=1;output; mm=2;output; cards; 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0 21.0 22.0 23.0 24.0 25.0 26.0 27.0 28.0 29.0 30.0 31.0 32.0 33.0 34.0 35.0 36.0 37.0 38.0 39.0 40.0 41.0 42.0 43.0 44.0 46.0 47.0 48.0 49.0 50.0 ; PROC TABULATE data=test1 noseps order=formatted ; CLASS ws mm ; Format ws WSmps.; TABLE (ws all), (mm all)*n=' '*f=6.0 / rts=10 box='Total Counts'; TABLE ws, (mm all)*pctn<mm all>*f=7.2 / rts=15 box='Conditional probs for col given row'; run;
4.Bivariate probit with IV (proc qlim)
Can proc qlim estimate bivariate probit IV models? Eg where both y and z are 0/1 variables, X and N are sets of variables prob(y=1) = f(a + bX + cz) prob(z=1) = g(d + eN) and at least one element of N does not appear in X (the identifying instrument). The syntax seems to suggest this is possible, but I cannot see any explicit discussion in the documentation of having an endogenous variable on the RHS. (I note that the corresponding Stata routine can estimate these models).
5.Bivariate Zero-Inflated Poisson Regression Model
Hi SAS users, Does any one have SAS coding experience in bivariate zero-inflated Poisson regression model? Can PROC NLIMIXED do the similar modeling work for multivariate case? Thank you. Paul Chin Risk Management Analytics/ GDS D&B Tel: 973-921-5347 Fax: 866-504-6449
Users browsing this forum: No registered users and 71 guest