Displaying 20 results from an estimated 1000 matches similar to: "Tobit analysis"
2006 Jan 19
2
Tobit estimation?
Folks,
Based on
http://www.biostat.wustl.edu/archives/html/s-news/1999-06/msg00125.html
I thought I should experiment with using survreg() to estimate tobit
models.
I start by simulating a data frame with 100 observations from a tobit model
> x1 <- runif(100)
> x2 <- runif(100)*3
> ystar <- 2 + 3*x1 - 4*x2 + rnorm(100)*2
> y <- ystar
> censored <- ystar <= 0
2007 Apr 25
2
assigning two conditions to grep()
Hi,
i have a problem in assigning 2 conditions to grep() ,
my data look like this:
DA 24 N7 Rad= 3.4 20 Sac= 0.93 Acc= 4.76
DA 24 N7 Rad= 3.4 14 Sac= 0.65 Acc= 3.33
DA 24 N7 Rad= 3.4 3 Sac= 0.14 Acc= 0.71
DA 24 N7 Rad= 3.4 11 Sac= 0.51 Acc= 2.62
DG 23 N7 Rad= 3.4 8 Sac= 0.37 Acc= 1.91
DG 23 N7 Rad= 3.4 5 Sac= 0.23 Acc= 1.19
DG 23 N7 Rad= 3.4 0 Sac= 0.00 Acc= 0.00
DG 23 N7 Rad= 3.4 3 Sac=
2001 Apr 02
2
Censored or truncated Regression Models/Tobit
Hi,
what is the best way to estimate a tobit(truncated) regression model in
R ?
Is there already a packet available ?
Gruss
Ralph Leonhardt
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body",
1998 Jul 02
1
Synchronize Unix/SMB passwords with 'synchpasswd'
Hi,
It's been a while since I created my smbpasswd file, and therefore
it is
no longer in synch with my Unix file. I've added and removed users over time,
and now I need a way to update the 'smbpasswd' file without losing the
encrypted passwords that are already in place (ie. I don't want to just run
'makesmbpasswd.sh' again).
So, I've written the
2019 Nov 29
2
security = ads parameter not working in samba 4.9.5
Hi Rowland,
The line 60 contains "{" in the script. The exit 1 statement is on line
number 58. Am I missing something?
Regards
Sachin Kumar
On Fri, Nov 29, 2019 at 5:21 PM Rowland penny via samba <
samba at lists.samba.org> wrote:
> On 29/11/2019 11:28, Sac Isilia wrote:
> > Hi Rowland,
> >
> > I get below error while running the script again.
> >
2019 Nov 29
2
security = ads parameter not working in samba 4.9.5
Hi Rowland,
I get below error while running the script again.
bash samba-collect-debug-info.sh > samba-output
kinit: Client's credentials have been revoked while getting initial
credentials
cat samba-output
Please wait, collecting debug info.
Wrong password or kerberos REALM problems, exiting now.
Below is my /etc/krb5.conf
[libdefaults]
default_realm = EMEA.MEDIA.GLOBAL.LOC
2005 Jan 19
4
How to replace slashes with back slashes
Dear R-helpers
I am running R2.0.0 under Windows 2000. I am compiling a number of file paths into a simple text file that will be read by some other software we use. Unfortunately, it can only handle file paths with back slashes (MS Windows convention), and from R, I get file paths with forward slashes. The following didn't work.
> gsub('/', '\\',
2008 May 29
2
In fact this is a Stats question, but...
Dear All,
I'me having (much) trouble understanding why it happened and answering
a referee's comment to part of a submitted manuscript. I've tried to
google for help but... I'm really confident that although this is a
R-Help list someone can help me!
I used R to do an ANCOVA w/ RNA/DNA as the dep var, sl as the indep
var and gut (a factor w/ levels: prey and empty) as the
2009 Apr 07
0
HELP: Use predict for Tobit Model. How to predict values in Tobit Model???
Hello,
I am working on a Tobit Model for a consumer good, left censored with zero.
Relation: Sales of product depend on price, promotion (dummy), Season(dummy)
and store (dummy)
Used standard Tobitmodel with package(AER) vor a 48 week period:
tobitmodel<-tobit(SALE~Price+Promotion+Season+Store,data= datatobit)
Now I want to predict the values for week 49-52.
Used predict device:
2000 Oct 18
0
[SUMMARY] openssh: ld: mismatched ABI
Original question:
-----------------
[..] What I am attempting to do is compiling openssh-2.2.0p1 on a C200
running 11.0 64bit.
During configure, ld exits from building a test program stating:
/usr/ccs/bin/ld: /opt/openssl/lib/libcrypto.a: Not a valid library
(invalid magic number). Possibly a 64-bit PA archive library (Mismatched
ABI). [..]
Solution:
--------
Many thanks to Albert C. Smith who
2007 May 04
2
Library & Package for Tobit regression
Hello R-Users:
I am want to use tobit regression for left censored panel/longitudinal data. Could you please provide me the name of "library" and/or "package" that will give me option of fitting tobit regression model for longitudinal data?
Thank you.
Sattar
__________________________________________________
[[alternative HTML version deleted]]
2012 Apr 02
1
Bootstrapped Tobit regression - get standard error 0...
I am trying to work out a bootstrapped Tobit regression model. I get the
coefficients all right, but they all have standard error zero. And I am
unable to figure out why. I know the coefficients are correct because that's
what I get when do a Tobit (without bootstrapping). Here's my code:
# Bootstrap 95% CI for Tobit regression coefficients?
library(boot)
library(AER) # for the Affairs
2008 Aug 16
1
Pseudo R2 for Tobit Regression
Dear All:
I need some guidance in calculating a goodness-of-fit statistic for a Tobit
Regression model.
To develop the Tobit regression, I used the tobit() method from the AER
package, which is basically a simpler interface to the survreg() method.
I've read about pseudo R2 and C-index and was wondering if there is a
package that calculates this for me. Also, is there a reason to select
2006 Feb 12
3
Tobit Regression (residual Assumption)
I'm statistician
I need help with tobit regression
Is there assumption in tobit regression ?
if any, what kind of that ?
please help me !!
2008 Feb 07
2
Tobit model
Hi all,
Quick question - Which, if any, of the R packages contains procedures for running Tobit analysis?
Regards,
Matt
---------------------------------
[[alternative HTML version deleted]]
2011 Mar 10
2
tobit regression model
Hi,
I'm trying to fit a tobit regression model to some data. When fitting the
exact same data in Stata, I have no problems at all, however R won't
converge. Its not a maxiters thing, since I've tried increasing this
already. I need to be able to fit the model in R since there are users of
the code that don't have a Stata license.
The code is:
require(AER)
left = 3.218476
x =
2012 Nov 28
0
Fixed Effects using AER's Tobit function - system is singular
I have an unbalanced panel of daily, county data that is naturally bounded at
zero so my intention is to use a tobit. I'm using tobit from the AER
package. There is cyclicality in the data for each pattern that I would like
to control for before I add my variables of interest.
I run the regression:
derp <- tobit(x ~ factor(Month)*factor(County), data = data0, left = 0,
right = Inf)
If I
2004 Aug 25
0
Censored (Tobit) Regression method
I need to give a quick description of Tobit Regression (TR), including how
it differs from ordinary least squares (OLS). I am an ecologist who knows
just enough about remote sensing and statistics to be dangerous in both.
Now I have found myself doing a remote sensing project where I have used TR:
survreg(Surv()). As far as I can tell, no form of Censored Regression has
been used in analyzing
2006 Jul 11
0
Tobit variance covariance matrix
Hi,
How can I recover the variance-covariance matrix of the tobit model from
the variance-covariance of the survreg?
I first used to the survreg function and then I selected the variance
matrix. However, the last parameter is log(scale) and not the variance
of the standard deviation of the censored distribution as in the Tobit
model.
tobit<- survreg(Surv(y, y > 0, type ='left')~
2011 Feb 11
1
censReg or tobit: testing for assumptions in R?
Hello!
I'm thinking of applying a censored regression model to
cross-sectional data, using either the tobit (package survival) or the
censReg function (package censReg). The dependent variable is left and
right-censored.
My hopefully not too silly question is this: I understand that
heteroskedasticity and nonnormal errors are even more serious problems
in a censored regression than in an