Displaying 20 results from an estimated 1000 matches similar to: "how to get a probit scale in R?"
2003 Jul 21
5
how to test whether two slopes are sign. different?
Not really r-specific:
Z = (b1 - b2) / SQRT ( SEb1^2 + SEb2^2)
-------Original Message-------
From: Gijsbert Stoet <stoet at volition.wustl.edu>
Sent: 07/20/03 09:51 PM
To: r-help at stat.math.ethz.ch
Subject: [R] how to test whether two slopes are sign. different?
>
> Hi,
suppose I do want to test whether the slopes (e.g. determined with
lsfit) of two different population are
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
2012 Apr 04
0
multivariate ordered probit regression---use standard bivariate normal distribution?
Hello.
I have yet to receive a response to my previous post, so I may have
done a poor job asking the question. So, here is the general question:
how can I run a run a multivariate (more than one non-independent,
response variables) ordered probit regression model? I've had success
doing this in the univariate case using the vglm() function in the
VGAM package. For example:
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
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
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
2011 Apr 25
0
probit regression marginal effects
Dear R-community,
I am currently replicating a study and obtain mostly the same results as the author. At one point, however, I calculate marginal effects that seem to be unrealistically small. I would greatly appreciate if you could have a look at my reasoning and the code below and see if I am mistaken at one point or another.
My sample contains 24535 observations, the dependent variable
2012 Jun 25
0
Fitting binomial data to a probit distribution without an equation
Hey everyone,
I've been reading an old scientific paper (well, not that old, about 15
years) and I want to verify the authors' statistical results. The paper is
fairly unclear about what exactly they did, and none of the relatively
simple commands I'm familiar with are producing results similar to theirs.
The data is dose-response, recorded as binomial data:
structure(list(X1 =
2010 Dec 30
1
Different results in glm() probit model using vector vs. two-column matrix response
Hi - I am fitting a probit model using glm(), and the deviance and residual degrees of freedom are different depending on whether I use a binary response vector of length 80 or a two-column matrix response (10 rows) with the number of success and failures in each column. I would think that these would be just two different ways of specifying the same model, but this does not appear to be the case.
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
2001 Jul 19
0
probit plots
Hello,
I'm trying to do a probit plot but am a little confused about how to do this.
Sample data:
> dat <-
data.frame(dose=c(0.18,0.48,0.78,0.18,0.48,0.78),n=c(103,120,123,60,110,100),r=c(19,53,83,14,54,81),
+ sample=c("s","s","s","t","t","t"))
> temp <-
2016 Apr 14
0
help with OR confidence interval using probit link
Howdy everyone
I?m trying to get Odds ratio and OR confidence intervals using a probit model, but I'm not getting.
Do you think you can help me?
I?m new with R L
naive = summary(glm(pcr.data[,7]~boldBeta_individual+pcr.data$age,family=binomial(link=probit)))
naive_answer = c(naive$coefficients[,1:3]) #naive estimates for
2004 Dec 09
0
Spatial Probit in R
Estimation of spatial probit models is as far as I know not implemented
functions in the spdep package of R. I am looking for a scripting that
handles both endogeneity and heteroscedasticity in spatial probit
models. This estimator was first suggested by Case (1992). If someone
could provide me with such an R-script I would be most grateful.
Moreover I would be interested in obtaining script for
2009 Jul 01
0
probit with sample selection error?
Deal all:
i want to do the probit with sample selection estimation, the following
is my code:
probit with sample selection can be done by stata :heckprob
The heckprobll is the likelihood function shown in W.H. Greene 5th p714
¡´ The question is the convergence is very slow compare with Stata using
likellihood only.
¡´ Second i did the similar way in matlab using
fminsearch , the estimated
2011 Aug 26
0
out of sample predictions using a probit model
hello all,
I am a beginner at R and not exactly a statistician either. I'm messing
around with a probit model on an enconomic time series. I can get the model
estimated but I have not been able to get it to give me predictions out of
sample data. I'm using the predict function but getting errors. Here is my
code:
#predict a recession 12 months out
#k=12 means 12 months forward
#dates
2010 Oct 31
1
Questions about Probit Analysis
Dear All,
I have some questions about probit regressions.
I saw a nice introduction at
http://bit.ly/bU9xL5
and I mainly have two questions.
(1) The first is almost about data manipulation. Consider the following
snippet
##################################################
mydata <- read.csv(url("http://www.ats.ucla.edu/stat/r/dae/binary.csv"))
names(mydata) <-
2009 Jan 22
1
Is there any function can be used to compare two probit models made from same data?
hi, people
How can we compare two probit models brought out from the same data?
Let me use the example used in "An Introduction to R".
"Consider a small, artificial example, from Silvey (1970).
On the Aegean island of Kalythos the male inhabitants suffer from a
congenital eye disease, the effects of which become more marked with
increasing age. Samples of islander males
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
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
2009 Aug 31
1
Probit function
Hello,
I want to start testing using the MNP probit function in stead of the
lrm function in my current experiment.
I have one dependant label and two independent varaibles.
The lrm is simple
model <- lrm(label ~ val1 + val2)
I tried the same thing with the mnp function and got an error that I
don't understand
model <- mnp(label ~ val1 + val2)
I get back an immediate error that