Displaying 20 results from an estimated 4000 matches similar to: "Simulate binary data for a logistic regression Monte Carlo"
2009 Apr 20
8
R graph into MS Word: which format to use?
Hello,
The journal I am publishing in requires MS Word files. What is my best
option for getting a high quality image of a graph done in R into Word?
JPEG? Postscript?
Thanks.
--
View this message in context: http://www.nabble.com/R-graph-into-MS-Word%3A-which-format-to-use--tp23133745p23133745.html
Sent from the R help mailing list archive at Nabble.com.
2008 Sep 17
3
Need help creating spatial correlation for MC simulation
I want to create a dataset in R with spatial correlation (i.e. clustering)
built in for a linear regression analysis. Any tips on how to do this?
Thanks.
--
View this message in context: http://www.nabble.com/Need-help-creating-spatial-correlation-for-MC-simulation-tp19542145p19542145.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jul 09
1
Appropriate tests for logistic regression with a continuous predictor variable and Bernoulli response variable
I have a data with binary response variable, repcnd (pregnant or not) and one predictor continuous variable, svl (body size) as shown below. I did Hosmer-Lemeshow test as a goodness of fit (as suggested by a kind “R-helper” previously). To test whether the predictor (svl, or body size) has significant effect on predicting whether or not a female snake is pregnant, I used the differences between
2009 Feb 10
2
What is the R equivalent of STATA's 'drop' command?
Hello,
I am trying to do some data cleaning in R. I need to drop observations that
take on certain values of a variable. In STATA I might type something like:
drop if <variable name> == 3
drop if <variable name> == 4
Is there an R equivalent of this? I have tried playing around with the
subset command, but it seems a bit clunky. What would an advanced R user's
approach be for
2010 Aug 12
2
Difference in Monte Carlo calculation between chisq.test and fisher.test
Hello all,
I would like to know what the difference is between chisq.test and
fisher.test when using the Monte Carlo method with simulate.p.value=TRUE?
Thank you
--
View this message in context: http://r.789695.n4.nabble.com/Difference-in-Monte-Carlo-calculation-between-chisq-test-and-fisher-test-tp2322494p2322494.html
Sent from the R help mailing list archive at Nabble.com.
2012 Dec 04
3
monte carlo simulation on R
Hello,
How can I make a monte carlo simulation on R?
Regards
Adel
--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
[[alternative HTML version deleted]]
2009 Jan 08
2
VaR-Monte carlo Simulation, Historic simulation, Variance-Covariance Simulation
Dear R helpers
Suppose I have a portfolio of securities with exposure to Equity, Bonds and Forex (say $ 1000000 each).
Is there any fucntion in R that will help me calculate Value at Risk (VaR) using Monte carlo Simulation , Historic simulation and Variance - Covariance Simulation.
With regards
Maithili
2005 Oct 13
1
About Qusi-Monte carlo program
Dear Listers;
Does anybody has experience in doing simulation via Qusi-Monte carlo in R or S-plus, if so, could you like to send a small copy of your program to me, I appreciate and thanks in advance!!
Frankly speaking, I am struggling to write this kind of program, while I could not figure out, painful!!!!!
Best regards,
Tony
---------------------------------
[[alternative HTML
2010 Mar 29
1
generating samples by Monte Carlo
Hello Dear,
I am trying to generate samples by using Monte Carlo simulation. For
example,
1000 samples, Exponential distribution (f(x), lambda=0.0005, 0<=x<=360)
Is there any package for Monte Carlo or just use random sample generation
function?
Many thank you for your help in advance,
Jin
--
View this message in context:
2007 Jun 06
0
R package: Mchtest - Monte Carlo hypothesis testing allowing Sequential Stopping
Hi,
This is an announcement for a package that has been up on CRAN since March 2006 but was never announced.
The package is Mchtest - for Monte Carlo hypothesis tests allowing sequential stopping. The idea is to use the sequential probability ratio test boundaries to stop resampling for a Monte Carlo hypothesis test such as a bootstrap or permutation test. This means that you will take many
2007 Jun 06
0
R package: Mchtest - Monte Carlo hypothesis testing allowing Sequential Stopping
Hi,
This is an announcement for a package that has been up on CRAN since March 2006 but was never announced.
The package is Mchtest - for Monte Carlo hypothesis tests allowing sequential stopping. The idea is to use the sequential probability ratio test boundaries to stop resampling for a Monte Carlo hypothesis test such as a bootstrap or permutation test. This means that you will take many
2005 Oct 12
0
monte carlo simulation
Dear R user:
I wonder if it is possible to run monte carlo simulation
with dse2 package(MonteCarloSimulations function) using ordinary
differential equation. How do I define the model? Or if there are any
functions which can run monte carlo simulation using ordinary differential
equation. Please give me some comments. Thanks in advance!!
2009 Nov 10
1
Monte Carlo Simulation in R...
Hi, Dear R users,
I'm wondering if I can do Monte Carlo Simulation in R. My problem is like
this: I know variable X follows Gamma distribution with shape parameter
0.067 and scale parameter 0.008. The sum of the X is 2000. I need R help me
to simulate a vector of X that satisfies both the probability distribution
and the sum. Anyone has a clue to this? Much appreciated.
Regards
Garry
2002 Dec 02
1
Monte Carlo chisq test
Dear all,
I have a question about the chisq.test command. As an option one can
chose the computation of p-values by Monte-Carlo simulation
(simulate.p.value=T). Is there any documentation available how this
calculations are done and how this simulation based test behaves in
small samples?
Thanks
Klaus Abberger
University of Konstanz, Germany
[[alternate HTML version deleted]]
2002 Sep 04
1
monte-carlo white noise test
Dear Sir,
Please tell me how to perform monte-carlo white noise test using R.
Thanking you
with regards
S.Sijikumar
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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", not the subject !) To:
2005 Aug 13
2
monte carlo simulations/lmer
Hi - I am doing some monte carlo simulations comparing bayesian (using
Plummer's jags) and maximum likelihood (using lmer from package lme4
by Bates et al).
I would like to know if there is a way I can flag nonconvergence and
exceptions. Currently the simulations just stop and the output reads
things like:
Error in optim(.Call("lmer_coef", x, 2, PACKAGE = "Matrix"), fn,
2012 Mar 22
0
New package RcppSMC 0.1.0 for Sequential Monte Carlo and Particle Filters
===== Summary =====
Version 0.1.0 provides the initial release of RcppSMC, an integration of the
SMCTC template classes for Sequential Monte Carlo and Particle Filters
(Johansen, 2009, J Statistical Software, 30:6) with the Rcpp package for R/C++
Integration (Eddelbuettel and Francois, 2011, J Statistical Software, 40:8).
RcppSMC allows for easier and more direct access from R to the
2012 Mar 22
0
New package RcppSMC 0.1.0 for Sequential Monte Carlo and Particle Filters
===== Summary =====
Version 0.1.0 provides the initial release of RcppSMC, an integration of the
SMCTC template classes for Sequential Monte Carlo and Particle Filters
(Johansen, 2009, J Statistical Software, 30:6) with the Rcpp package for R/C++
Integration (Eddelbuettel and Francois, 2011, J Statistical Software, 40:8).
RcppSMC allows for easier and more direct access from R to the
2010 Oct 28
2
Please help me about Monte Carlo Permutation
> Dear R experts,
>I am sorry for my inability.
>I have the following dataset:
> Qtot Itot
>1 73 684
>2 64 451
>3 71 378
>4 65 284
>5 47 179
>6 31 117
>7 19 69
>
>Now I need to perform Monte Carlo Pertutation test underlaying the
following condition.
>
>
>Condition
>
>In order to choose randomly (5000 times) for the Qtot
2009 Mar 03
0
Monte carlo simulation in fGARCH
I use fGarch package to estimate AR(1)-ARCH(1) process for a vector of returns. Then, using the estimated parameters I want to simulate 10 000 sample paths where each path has the same length as the vector of returns. So the first line of the code is: spec=garchSpec(model=list(ar= 0.440270860, omega=0.000374365,alpha=0.475446583 , mu=0, beta=0))----
The only way I can think of generating 10 000