Dear Andrew
Thanks a lot for investigating the problem and for suggesting a
solution and a workaround! I have asked the maintainer of the
'stargazer' package to fix the problem. Until then, we can use the
workaround that you suggested.
Best regards,
Arne
On Sat, 28 May 2022 at 23:
n
the sampleSelection package; I would assist you with this.
Best regards,
Arne
On Mon, 28 Dec 2020 at 15:22, Marinella Cirillo via R-help
wrote:
>
> Dear Arne,
>
> I have just read the exchange of messages with Mark Bulling.I was wondering
> if you have discovered/developed a funct
On Fri, 9 Oct 2020 at 12:28, Martin Maechler wrote:
>
> >>>>> Steven Yen
> >>>>> on Fri, 9 Oct 2020 05:39:48 +0800 writes:
>
> > Oh Hi Arne, You may recall we visited with this before. I
> > do not believe the problem is algorithm
Hi Steven
Which optimisation algorithms in maxLik work better under R-3.0.3 than
under the current version of R?
/Arne
On Thu, 8 Oct 2020 at 21:05, Steven Yen wrote:
>
> Hmm. You raised an interesting point. Actually I am not having problems with
> aod per se—-it is just a supportin
Dear Vanessa
Please provide a minimal *reproducible* example that illustrates your
problem, e.g. using a data set that is included in an R package.
Best regards,
Arne
On 4 January 2017 at 10:28, Vanessa Romero wrote:
> Hello,
>
> I am doing Tobit Regression in R, because my
n package. Sorry!
Anyway, I guess that it is not too complicated to derive the
likelihood function and implement the estimation yourself, e.g., using
the maxLik package. If you do this, I would be happy to help you to
implement this feature in the sampleSelection package.
Best wishes,
Arne
tive contract is concluded only upon
> an express mutual agreement on all its aspects.
> - the sender of this e-mail informs that he/she is not authorized to enter
> into any contracts on behalf of the company except for cases in which he/she
> is expressly authorized to do s
[1] http://www.inside-r.org/packages/cran/systemfit/docs/hausman.systemfit
Best regards,
Arne
On 6 January 2016 at 20:02, David Winsemius wrote:
>
>> On Jan 6, 2016, at 9:44 AM, Jeff Newmiller wrote:
>>
>> To post appropriately, use less apologizing and more reading o
st and the other for firms that do not invest.
Best regards,
Arne
On 18 September 2015 at 07:43, Johannes Muck wrote:
> Dear all,
>
> I want to estimate a model in which individuals self-select into two
> different actions (e.g. invest or not invest). Moreover, the factors that
>
help me with this?
To estimate the above model specification, the following should work:
eq1 <- Y1 ~ I(Y2*X1) + X2
eq2 <- Y2 ~ I(Y1*X1) + X2
inst <- ~ X2 + Z1 + Z2
system <- list( eq1 = eq1, eq2 = eq2 )
reg2SLS <- systemfit( system, "2SLS", inst = inst, data = mydata )
Be
.
[1]
http://r.789695.n4.nabble.com/NaN-produced-from-log-with-positive-input-td4709463.html
Best regards,
Arne
2015-07-18 2:46 GMT+02:00 Maram SAlem :
> Dear All,
> I'm trying to get the MLe for a certain distribution using maxLik ()
> function. I wrote the log-likelihood funct
Dear Maram
On 8 July 2015 at 17:52, Maram Salem wrote:
> Dear Arne,
>
> On a second thought, as per your mail "the warning messages occur each time,
> when maxLik() tries to calculate
> the logLik value for theta[1] <= 0, theta[1] + theta[2] <= 0, theta[3] <= 0
>
hat your estimated
parameter vector 'param' consists of log( theta[1] ), log( theta[2] ),
and log( theta[3] ). After the estimation, you can obtain the
estimated values of the thetas by exp( param[1] ), exp( param[2] ),
and exp( param[3] ) .
Best regards,
Arne
2015-07-06 2:29 GMT+02
project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Please follow the posting guide and provide a self-contained
reproducible example.
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
Lik
http://dx.doi.org/10.1007/s00180-010-0217-1
https://absalon.itslearning.com/data/ku/103018/publications/maxLik.pdf
> I would appreciate any help.
http://www.R-project.org/posting-guide.html
http://maxlik.org/
https://r-forge.r-project.org/projects/maxlik/
Best regards,
Arne
--
Arne He
uide.html
> and provide commented, minimal, self-contained, reproducible code.
Your example is not reproducible:
> pr(N(2)=n)= integral( ((2-x)^n)*(exp(ax-2))) - integral (((5-ax)^n))
Error: unexpected '=' in "pr(N(2)="
Please format your email in a way t
uide.html
> and provide commented, minimal, self-contained, reproducible code.
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do r
)
# likelihood ratio test
lrtest( mp, md )
If you have further questions regarding the frontier package, you may
also use the "help" forum at frontier's R-Forge site:
https://r-forge.r-project.org/projects/frontier/
...and please do not
Dear Teresa,
using such services will only speed up the imputations significantly if you can
split up/parallelize your code.
And maybe you can use more cores on your local machine by using packages like
doSNOW, foreach and/or plyr. There are a lot of examples on the web.
Kind regards
Arne
Arne
[1] http://cran.r-project.org/package=sampleSelection
[2] http://www.jstatsoft.org/v27/i07/
[3] http://r-forge.r-project.org/projects/sampleselection/
--
Arne Henningsen
http://www.arne-henningsen.name
___
R-packages mailing list
r-packa...@r
p://www.jstatsoft.org/v27/i02/)
3rd step: use censReg() to estimate the model (see
http://cran.r-project.org/web/packages/censReg/vignettes/censReg.pdf)
Please do read the posting guide http://www.R-project.org/posting-guide.html
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henningsen.
t;> not my data.
>
> You have not told us what version of the Matrix package you were using.
> As such I would suggest that you review the Changelog which is a link
> for the CRAN page for pkg:Matrix and go back 4 years or so since R
> major versions change about once a year.
>
forum at systemfit's R-Forge site:
https://r-forge.r-project.org/projects/systemfit/
... and please do not forget to cite systemfit in your publications
(see output of the R command 'citation("systemfit")').
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henn
unction (and preferably also the derivatives/gradients
with respect to the parameters), and maximize this log-likelihood
function, e.g. with the R package "maxLik" (http://maxlik.org/).
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
_
Dear Filipe
On 14 October 2013 17:42, Filipe Ribeiro wrote:
> Dear Arne,
>
> First of all, thank you very much for your reply. Secondly, please accept my
> apologies for only give you an answer now, but I was moving from one country
> to another and only today I was able to get ba
forums at maxLik's R-Forge site:
https://r-forge.r-project.org/projects/maxlik/
...and please do not forget to cite the maxLik package in your publications:
http://cran.r-project.org/web/packages/maxLik/citation.html
Best wishes,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
_
feature, I wonder if I should start a crowd-funding
campaign...
Best regards,
Arne
On 16 August 2013 18:23, Ariel wrote:
> Arne Henningsen-3 wrote
>>> Is it possible
>>> to run SUR with weights using systemfit? I mean weighted seemingly
>> unrelated
>>> regre
ethod in this case.
Please do not forget to cite the systemfit package in your publications. Thanks!
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinf
uot; can still be used for maintaining
backward-compatibility.
http://cran.r-project.org/package=frontier
https://r-forge.r-project.org/projects/frontier/
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
___
R-packages mailing list
r-pac
Y_i
> = a + b * X_i + u.
It seems to me that this estimation is very simple:
myModel <- lm( Y ~ X )
but perhaps I did not completely understand your model specification.
Best,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@
Dear Kathrinchen
It seems to me that your question is about statistics rather than
about R and systemfit. If you find out how the statistical test should
be conducted theoretically, I can probably advise you how to implement
the test in R (systemfit).
Best wishes,
Arne
On 11 July 2013 13:21
that are specific to systemfit via the help
forum at systemfit's R-Forge site:
https://r-forge.r-project.org/projects/systemfit/
Best wishes,
Arne
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch
s, and u is the error term.
I do not understand your model specification. In your first equation IV1
and IV2 look like parameters. Is your model perhaps:
Y = a + b x X + u
X = c + d x IV1 + e x IV2 + v
with a, b, c, d, and e being parameters and u and v being disturbance terms?
Best wishes,
Arn
find out the reason
for the NaNs in the analytical gradients yourself, please provide a
reproducible example so that we could help you with this.
Please note that you could also ask questions regarding the maxLik
package via a forum at maxLik's R-Forge site:
https://r-forge.r-project.org/proje
further questions regarding the "frontier" package, I
suggest that you use the "help" forum at frontier's R-Forge site [2].
[2] https://r-forge.r-project.org/projects/frontier/
... and please do not forget to cite the R packages that you use in
your analysis in your publicati
at [1]. If you have any further questions regarding the "frontier"
package, please use a forum at the package's R-Forge site [3].
[1] http://www.uq.edu.au/economics/cepa/frontier.php
[2] http://frontier.r-forge.r-project.org/
[3] http://r-forge.r-project.org/projects/frontier/
Best
//www.micEcon.org/
[4] http://r-forge.r-project.org/projects/micecon/
[5] http://r-forge.r-project.org/projects/frontier/
Best (holiday) wishes from Copenhagen,
Arne
On 9 December 2012 23:31, Rui Neiva wrote:
> Hi there everyone,
>
> I have the following model (this is naturally a simpl
e for the individual
> objects, e.g. R-squared
As the "eq" component is a "list" (see documentation), you must use
double brackets:
nl.system$eq[[i]]
> eq.1 <- nl.system$eq[1]
>
> eq.1$r2
You can directly use:
nl.system$eq[[
ft.org/v23/i04/paper
and
http://www-systemfit.org/
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-
variables for individuals and/or time periods or
estimate the model with "within transformed" data.
Best wishes,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listi
l porgrams already written -
> but
> I am open to switching everything I have directly to systemfit if I can get
> teh parameters constrained
OK.
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing lis
).
Please do not forget to cite systemfit in your publications--no matter
whether you directly use it or through zelig(). Thanks!
[1] http://www.jstatsoft.org/v23/i04/paper
/Arne
On 12 September 2012 20:05, Samantha Azzarello
wrote:
> Hello all,
> I am following some standard code from Zelig m
a forum or "tracker" on systemfit's
R-Forge site:
http://r-forge.r-project.org/projects/systemfit/
Best wishes from Copenhagen,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.
luck.) I
assume the maintainers are still somewhere around, even if my mails
remained unresponded. The package did not turn up in the orphaned
package list.
So, anyone who could help me on this?
Regards,
arne
__
R-help@r-project.org mailing list
nGHQ=15, iterlim=1,
> data = d3)
>
> The error is:
>
> Error in solve.default(OM) :
> system is computationally singular: reciprocal condition number =
> 4.41531e-17
Did you solve this problem in the mean time?
If not: I could take a look at it if you send me a repro
on estimating systems of non-linear
equations with the systemfit package, please take a look at the FAQ
section of systemfit's website:
http://www.systemfit.org/
Best wishes,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-proj
mfit can also estimate
multiple-equation models. I hope that the documentation of systemfit
as well as the JSS paper are sufficiently clear. If you still have
questions regarding systemfit, please use a forum or "tracker" on
systemfit's R-Forge site (see http://systemfit.or
les in this system?
You can use argument "shifterNames" for this.
BTW: You can also ask questions, report problems, etc. about the
micEconAids package via a forum or "tracker" at the R-Forge site [1]
of the micEcon project [2].
[1] https://r-forge.r-project.org/projects/miceco
Dear Felipe
On 29 September 2011 14:10, Arne Henningsen
wrote:
> Hi Felipe
>
> On 25 September 2011 00:16, Felipe Nunes wrote:
>> Hi Arne,
>> my problem persists. I am still using censReg [version - 0.5-7] to run a
>> random effects model in my data (>50,00
a predict() method
for "censReg" objects. Sorry! However, if you have (or anybody else
has) time and skills to do this, please do not hesitate to become a
project member at R-Forge and implement this method. Thanks!
Best wishes,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
method? Which commands
did use use? Can you send us a reproducible example? Have you read the
paper about using the sampleSelection package [2]?
[1] http://www.r-project.org/posting-guide.html
[2] http://www.jstatsoft.org/v27/i07
Best wishes from copenhagen,
Arne
--
Arne Henningsen
http://www.arn
dependent variables. Feedback
is very welcome!
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
_
timate
your equations jointly, I am afraid that you either have to switch to
another software or have to implement the estimation yourself. You
could, e.g., minimize the determinant of the residual covariance
matrix with optim(), nlm(), nlminb(), or another optimizer or you
could maximize th
r all observations?
loglik <- function(b) sapply( 1:N, loglik.i, b = b )
Please note that logLik( b ) returns a *vector* of the likelihood
contributions of each observation. maxLik() takes the sum of the
elements of this vector automatically. If logLik( b ) returns a vector
of the likelihood contri
Hi Felipe
On 25 September 2011 00:16, Felipe Nunes wrote:
> Hi Arne,
> my problem persists. I am still using censReg [version - 0.5-7] to run a
> random effects model in my data (>50,000 cases), but I always get the
> message.
> tob7 <- censReg(transfers.cap ~ pt.pt + psdb
On 25 September 2011 00:16, Felipe Nunes wrote:
> Hi Arne,
> my problem persists. I am still using censReg [version - 0.5-7] to run a
> random effects model in my data (>50,000 cases), but I always get the
> message.
> tob7 <- censReg(transfers.cap ~ pt.pt + psdb.pt + pt.op
ers.cap ~ pt.pt + psdb.pt + pt.opp + pt.coa + psdb.coa
> + pib.cap + transfers.cap.lag + pib.cap + ifdm + log(populat) +
> mayor.vot.per + log(bol.fam.per+0.01) + factor(uf.name) + factor(year) - 1,
> left=0, right=Inf, method="BHHH", nGHQ=8, iterlim=1, data = pdata2)
Did you upgra
Hi Felipe
On 18 September 2011 09:09, Felipe Nunes wrote:
> Thanks, Arne!
> But I'm having another problem now. When I transform my data into a
> pdata.frame form and try to run a tobit model with random effects I get an
> error. Below I provide the head of my data, the code I u
t exceeded.
> Log-likelihood: -67680.41 on 42 Df
You can use argument "iterlim" to increase the maximum number of
iterations, see documentation of maxNR().
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mai
I highly recommend to use the BHHH method, particularly for
the random effects panel data estimation.
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
m", and
estimate a random-effects model?
What do you exactly mean with "never converge"? Did you try to
increase the maximum number of iterations (argument "iterlim")? Did
you try to use other optimization methods, e.g. BHHH (argument
"method")?
What is th
On 14 September 2011 00:36, Arne Henningsen
wrote:
> Hi Igors
>
> On 13 September 2011 13:27, Igors wrote:
>> Any success in finding possible solutions for my problem?
>
> Somewhat. The calculation of the log-likelihood values is numerically
> much more robust/stable
or
waiting many days or even a few weeks.
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-gu
possibility of obtaining
> estimates?
Using your small data set, the maximization of the (log) likelihood
function in censReg() did not converge within 100 iterations.
Therefore, I increased the maximum number of iterations from 100 to
200 -- and then the maximization conve
8.00 <2e-16 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
BHHH maximisation, 131 iterations
Return code 2: successive function values within tolerance limit
Log-likelihood: -5538.124 on 4 Df
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
ause of this error without a
reproducible example. Is is possible that you send a reproducible
example to me?
Could it be that there are NAs in the data or something in the panel
data specification is not as censReg() expects it?
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
_
d R-Forge [3] probably within one or two days.
[1] https://r-forge.r-project.org/scm/?group_id=256
[2] http://cran.r-project.org/package=censReg
[3] https://r-forge.r-project.org/R/?group_id=256
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
variance of the individual effects ("mu"), and variance of
the general error term ("nu").
http://cran.r-project.org/web/packages/censReg/vignettes/censReg.pdf
Best wishes from Copenhagen,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
_
#x27;s wrong. Any advice will be much
> appreciated.
Please do read the posting guide, the documentation of maxLik, the
examples included in this documentation, and the following paper:
http://dx.doi.org/10.1007/s00180-010-0217-1
Best wishes,
Arne
--
Arne He
it says about argument "grad":
"[...] If the BHHH method is used, ‘grad’ must return a matrix, where
rows correspond to the gradient vectors of individual observations and
the columns to the individual parameters.[...]"
More information of the maxLik package is available at:
http://d
s stochastic frontier models out of the box. Then "frontier" and
"Benchmarking" packages provide tools for (ordinary) stochastic
frontier analysis.
Best wishes from Copenhagen,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
___
duces approximate
> solutions, whereas in this simple case, an 'exact' solution
> is possible (and found by R).
>
> 6.
> In case you weren't aware of it: the stats4 package has an
> mle() function.
... and there is the "maxLik" package.
http://cran.r-project.org/pa
;systemfit"
package. You could join the developer team at R-Forge.
Best wishes from Copenhagen,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
gradient functions) and use, e.g., the
maxLik() package for maximising the likelihood. The source code of the
"frontier" package is hosted on R-Forge.
I am sorry that I and the "frontier" package cannot be more helpful right now.
Best wishes from Copenhagen,
Arne
--
Arne Henni
longitudinal data with sample weights?
Kind regards,
Arne
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
ng the data (e.g. read.dta(), read.table(), or read.csv()) -- of
course -- depends on the file format.
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do re
auto)
>
> Error in as.vector(x, mode) :
> cannot coerce type 'builtin' to vector of type 'any'
I guess that the starting values cause this error. The documentation
says: "startvals: a list of starting values for the coefficients."
Note, it should be a *lis
data?
Thank you in advance!
Best regards,
Arne
--
View this message in context:
http://r.789695.n4.nabble.com/Longitudinal-Weights-in-PLM-package-tp3298823p3298823.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r
omega + alpha*res[i-1]^2 + beta*sig2[i-1]
> ll[i] <- -1/2*log(2*pi*sig2[i]) - 1/2*res[i]^2/sig2[i]
> }
I have no idea for sig2 but you could move ll out of the loop:
> ll[2:99] <- -1/2*log(2*pi*sig2[2:99]) - 1/2*res[2:99]^2/sig2[2:99]
/A
37345 -1.847598 -1.793146
[50] -1.492001 -1.289086 -1.210335 -1.824306 -1.580044 -1.350120 -3.977663
[57] -2.213723 -2.022477 -1.704629 -1.599071 -1.789774 -1.421933 -2.004710
[64] -1.645671 -1.544476 -1.371070 -2.947443 -1.845836 -1.840481 -1.664951
[71] -1.564801 -1.327754 -1.463221 -1.230692 -1.099
select * from db
Where id = ";)
}
My problem is to split the select-statement and insert the current id. How can
I handle this problem?
Best regards,
Arne
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do r
ptimizers in
> MATLAB.
maxLik() includes several different optimisation routines. Did you try
all of them?
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PL
Hi Achim!
On 16 January 2011 16:37, Achim Zeileis wrote:
> Arne: Unless I'm missing something, hausman.systemfit() essentially does the
> right thing and computes the right statistic and p-value (see my other mail
> to Holger). Maybe some preliminary check on the input objects
ir
variance covariance matrix of a _2SLS_ estimation and $b_3$ and
$V_3$ are the estimated coefficients and their variance covariance
matrix of a _3SLS_ estimation.
=
Please don't hesitate to write a new version of hausman.systemfi
Hi Terry
On 24 November 2010 15:34, Terry Therneau wrote:
> For tobit regression, also see the last example of help(survreg) in the
> survival package.
How does the survreg() function of the "survival" package account for
the panel structure of the data?
Best wishes,
Arne
--
horoughly tested
yet. If you experience any problems, please report them via the
"tracker" of the "sampleSelection" project on R-Forge [1]. Thanks!
[1] https://r-forge.r-project.org/tracker/?group_id=256
Best regards,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
e exogenous,
both estimates should be consistent but the SUR estimates should be
more efficient.
Best wishes,
Arne
--
Arne Henningsen
http://www.arne-henningsen.name
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEAS
a value larger than
0.
/Arne
--
Arne Henningsen
http://www.arne-henningsen.name
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www
ins even when I try:
>> fo1 <- r98[,2] ~ f98[,1] + f98[,2] + ... + f98[,43]
>> fo2 <- r98[,1] ~ f98[,1] + f98[,2] + ... + f98[,43]
> instead of using lm()
> Could someone give me a hand? I am quite new to R, so possibly the solutions
> is simple:)
Yes, the formula(
g
"print.level=4" as argument of maxLik() or maxNR().
You could send us also an example which allows us to replicate your problem.
Best wishes,
Arne
On 29 August 2010 01:06, "Martin Boďa" wrote:
>
>
>
>
>
>
> Greetings,
>
>
>
> I
-vector
(running t.test(data1) by hand works).
How can I remove the quotes before performing the test?
Sincerely,
Arne Schulz
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-
Hi,
thanks a lot! That did it!
Regards,
Arne Schulz
> -Ursprüngliche Nachricht-
> Von: Greg Snow [mailto:greg.s...@imail.org]
> Gesendet: Dienstag, 13. Juli 2010 18:17
> An: Arne Schulz; r-help@r-project.org
> Betreff: RE: [R] Generate groups with random size but given to
3
Another way could be generating one sample at a time and sum the cases. But
this would end up in trail & error to fit the 10.000 cases. Maybe it would
break rules of probability, too.
I'm convinced that there should be another (and even better) way to handle this
problem in R...
On 17 May 2010 22:55, RATIARISON Eric wrote:
> It's ok Arne, i've build the MS windows binary.
>
> And the result is ok (sandwich function runs)with this next modifications in
> my user specified functions
> But with the following functions (individual one):
>
>
ods can be applied only if maxLik() was called with
argument "grad" equal to a gradient function or (if no gradient
function is specified) argument "logLik" equal to a log-likelihood
function that return the gradients or log-likelihood values,
respectively, for *each observation* (
least, you need an estfun() method which
> extracts the gradient contributions per observation. Then you need a bread()
> function, typically based on the observed Hessian. Then you can compute the
> basic sandwich() estimators.
Is it possible to implement the estfun() method and the brea
e the CES function using
much more estimation methods (optimizers) now, e.g. the
Levenberg-Marquardt or the Differential Evolution algorithm.
Furthermore a "vignette" (supplementary documentation) "Estimating the
CES Function in R: Package micEconCES" (written by Geraldine
Hen
1
Condition number of the (active) hessian: 1
-Iteration 1 -
-Iteration 2 -
-Iteration 3 -
-Iteration 4 -
-Iteration 5 -
-Iteration 6 -
--
gradient close to zero. May be a solution
6 iterations
estimate: -0.6288598
Function value: -
es not mean that
your error term also follows a beta distribution. And it the
distribution of the error term which is crucial for specifying the
likelihood function.
/Arne
> On Wed, Mar 17, 2010 at 9:07 AM, Corrado wrote:
>> Dear Gabor,
>>
>> 1) The constraints are active,
:-)
Algebraically, "log(prod(z))" is equal to "sum(log(z))" but these two
expressions might return different numbers on digital computers:
R> ll<-function(mu) { sum(log(dcauchy(x,mu,s))) }
R> ll(2)
[1] -754.4928
R> loglik(2)
[1] -Inf
R> maxNR(ll,start=median(x))
1 - 100 of 140 matches
Mail list logo