similar to: PROBIT REGRESSION FOR GROUPED/CLUSTERED DATA

Displaying 20 results from an estimated 700 matches similar to: "PROBIT REGRESSION FOR GROUPED/CLUSTERED DATA"

2009 Jul 12
2
Heckman Selection MOdel Help in R
Hi Saurav! On Sun, Jul 12, 2009 at 6:06 PM, Pathak, Saurav<s.pathak08 at imperial.ac.uk> wrote: > I am new to R, I have to do a 2 step Heckman model, my selection equation is > below which I was successful in running but I am unable to proceed further, > > > > I have so far used the following command > > glm(formula = s ~ age + gender + gemedu + gemhinc + es_gdppc +
2009 Jul 11
2
Heckman Selection Model/Inverse Mills Ratio
I have so far used the following command glm(formula = s ~ age + gender + gemedu + gemhinc + es_gdppc + imf_pop + estbbo_m, family = binomial(link = "probit")) My question is 1. How do i discard the non significant selection variables (one out of the seven variables above is non-significant) and calculate the Inverse Mills Ratio of the significant variables 2. I need the inverse
2009 Jul 12
0
ERROR message while using <-invMillsRatio()
Hi I have been trying so many different things to get my Inverse Mills Ratio going for a Two stage Heckman Model, I have tried the following so far (the commands are listed below till teh point where I get an error), I get an error in the last sentence (marked in bold below), if this were successful then I could have used the IMR as a control in my OLS (which would be the OLS for the outcome
2009 Jul 10
0
GLM for Probit for Panel Data
Hello I am working on a panel data, my panel variable is the variable "yearctry", let me explain what I mean, yearctry is calculated based on the year and the ISD phone code of a country, eg, for the year 2000 say and for country USA say (code = 001), my yearctry variable will then be 2000001, there are 2000 observations (ie 2000 individual responses with yearctry = 2000001), I have 65
2009 Jul 15
0
DECLARING A PANEL VARIABLE???
Hi I am working on a panel data, my data are clustered/grouped by the variable "yearctry", I am running the regression below, but I cant make the regression recognise "yearctry" as the panel variable in the regression myProbit<- glm(s ~ age + gender + gemedu + gemhinc + es_gdppc + imf_pop + estbbo_m, family = binomial(link = "probit"), data = adpopdata) Can
2009 Oct 18
2
How to create MULTILEVELS in a dataset??
Dear R users I have a data set which has five variables. One depenedent variable y, and 4 Independent variables (education-level, householdincome, countrygdp and countrygdpsquare). The first two are data corresponding to the individual and the next two coorespond to the country to which the individual belongs to. My data set does not make this distinction between individual level and country
2009 Oct 17
0
how to cluster data for use with lmer
Dear R users My data set is e > names(e) [1] "yearctry" "discent" "age" "gender" "gemeduc" "gemhhinc" "ref_group" "fearfail_ref" "knowent_ref" "nbgoodc_ref" [11] "nbstatus_ref" "estbbuso_ref" "lngdp" "lngdpsq"
2016 Apr 28
0
Robust clustered errors for probit ordinal regression analysis
Dear all, I?ll need your help with obtaining robust clustered errors. I use polr command in MASS package m<?porl(y~x1+x2,data=mydata, method=probit). In the rms package, this is as simple as: clusterSE<?robcov(m, mydata$id). Is it possible to do something similar for polr object as well? Thank you very much Best, Faradj [[alternative HTML version deleted]]
2006 Jun 14
4
a new way to crash R? (PR#8981)
Dear R Team, First, thank you for incredibly useful software! Now the bad news: The attached script (or the original version with real data) will reliably crash R on my machine. I am using: R version: either 2.2.1 or 2.3.1 Windows 2000 Professional, Service Pack 4 512 MB of RAM On my machine the script will crash R on line 42 [ probits21 <- lapply(... ]. In both this script and the
2006 May 06
3
probit analysis
Dear all, I have a very simple set of data and I would like to analyze them with probit analysis. dose event trial 0.0 3 15 1.1 4 15 1.3 4 15 2.0 3 15 2.2 5 15 2.8 4 15 3.7 5 15 3.9 9 15 4.4 8 15 4.8 11 15 5.9 12 15 6.8 13 15 The dose should be transformed with log10(). I use glm(y ~ log10(dose), family=binomial(link=probit)) to do probit analysis, however, I have to exclude the
2003 Nov 06
1
for help about R--probit
Not real data. It was gererated randomly. The original codes are the following: par(mfrow=c(2,1)) n <- 500 ######################### #DATA GENERATING PROCESS# ######################### x1 <- rnorm(n,0,1) x2 <- rchisq(n,df=3,ncp=0)-3 sigma <- 1 u1 <- rnorm(n,0,sigma) ylatent1 <-x1+x2+u1 y1 <- (ylatent1 >=0) # create the binary indicator ####################### #THE
2006 Nov 19
1
problems with axis
hi list! i'm plotting a probit plot .On x axis i have value of a statistical variable. on y axis the corresponding normalized representation. I have this code plot(vals,perc,axes=F,col="red",pch=19,cex=0.25) probit.scale.values <- c(0,0.001,0.01,0.05,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,0.95,0.99,0.999,1) probit.scale.at <- qnorm(probit.scale.values)
2004 Jun 12
2
ordered probit or logit / recursive regression
> I make a study in health econometrics and have a categorical > dependent variable (take value 1-5). I would like to fit an ordered > probit or ordered logit but i didn't find a command or package who > make that. Does anyone know if it's exists ? R is very fancy. You won't get mundane things like ordered probit off the shelf. (I will be very happy if someone will show
2012 Mar 21
0
multivariate ordinal probit regression vglm()
Hello, all. I'm investigating the rate at which skeletal joint surfaces pass through a series of ordered stages (changes in morphology). Current statistical methods in this type of research use various logit or probit regression techniques (e.g., proportional odds logit/probit, forward/backward continuation ratio, or restricted/unrestricted cumulative probit). Data typically include the
2006 Nov 30
2
AIC for heckit
Hi, I have used the heckit function in micEcon. Now I would like to evaluate the fit of the probit part of the model but when I enter AIC(sk$probit) I get this error Error in logLik(object) : no applicable method for "logLik" How can I then get the AIC for this model? Side question: If you know - from the top of your head - some link to readings dealing with evaluating the
2001 Aug 31
2
Probit model
R users, I got a problem to analyze with probit model. What package contains the algorithm to do probit model. Lawrence N.M Kazembe Mathematical Sciences Department Chancellor College University of Malawi P.O. Box 280 Zomba Malawi Tel: (265) 524 222 ext 284 Fax: (265) 524 046 e-mail: lkazembe at chirunga.sdnp.org.mw url: kazembe.cjb.net kazembe.tsx.org
2004 Dec 03
3
multinomial probit
Hello All, I'm trying to run a multinomial probit on a dataset with 28 data points and five levels (0,1,2,3,4) in the latent choice involving response variable. I downloaded the latest mnp package to run the regression. It starts the calculation and then crashes the rpogram. I wish I could give the error message but it literally shuts down R without a warning. I'm using the R
2010 Feb 27
1
Help Computing Probit Marginal Effects
Hi, I am a stata user trying to transition to R. Typically I compute marginal effects plots for (example) probit models by drawing simulated betas by using the coefficient/standard error estimates after I run a probit model. I then use these simulated betas to compute first difference marginal effects. My question is, can I do this in R? Specifically, I was wondering if anyone knows how R
2011 Jan 28
2
help with S4 objects: trying to use a "link-glm" as a class in an object definition
Hi, I'm trying to make a new S4 object with a slot for a "link-glm" object. R doesn't like me have a slot of class "link-glm" > class(make.link("probit")) [1] "link-glm" > setClass("a",representation(item="link-glm")) [1] "a" Warning message: undefined slot classes in definition of "a": item(class
2003 Sep 08
1
Probit and optim in R
I have had some weird results using the optim() function. I wrote a probit likelihood and wanted to run it with optim() with simulated data. I did not include a gradient at first and found that optim() would not even iterate using BFGS and would only occasionally work using SANN. I programmed in the gradient and it iterates fine but the estimates it returns are wrong. The simulated data work