Find Jobs
Hire Freelancers

maximum likelihood sstimation of beta-normal in R

$10-30 USD

Fermé
Publié il y a plus de 6 ans

$10-30 USD

Payé lors de la livraison
I want to estimate the parameters of beta-normal distribution.I've used the maxLik package in r: library(VGAM) library(maxLik) alfa=2;beta=3;mu=0;sigma=1 n=100 x=rbetanorm(n,alfa,beta,mu,sigma) logLikFun=function(w){ alfa=w[1] beta=w[2] mu=w[3] sigma=w[4] ll={-n*log(beta(alfa,beta))+(alfa-1)*sum(log(pnorm((x-mu)/sigma,mean=0,sd=1)))+(beta-1)*sum(log(1-pnorm((x-mu)/sigma,mean=0,sd=1)))-n*log(sigma)+sum(log(dnorm((x-mu)/sigma,mean=0,sd=1)))} ll } mle=maxLik(logLikFun,start=c(alfa=3,beta=2,mu=1,sigma=2)) summary(mle) i want to estimate the parameters of beta-normal distribution.I've used the maxLik package library(VGAM) library(maxLik) alfa=2;beta=3;mu=0;sigma=1 n=100 x=rbetanorm(n,alfa,beta,mu,sigma) logLikFun=function(w){ alfa=w[1] beta=w[2] mu=w[3] sigma=w[4] ll={-n*log(beta(alfa,beta))+(alfa-1)*sum(log(pnorm((x-mu)/sigma,mean=0,sd=1)))+(beta-1)*sum(log(1-pnorm((x-mu)/sigma,mean=0,sd=1)))-n*log(sigma)+sum(log(dnorm((x-mu)/sigma,mean=0,sd=1)))} ll } mle=maxLik(logLikFun,start=c(alfa=3,beta=2,mu=1,sigma=2)) summary(mle) but it gives error: ---------------------------------- Maximum Likelihood estimation Newton-Raphson maximisation, 4 iterations Return code 2: successive function values within tolerance limit Log-Likelihood: -86.16515 4 free parameters Estimates: Estimate Std. error t value Pr(> t) alfa 3.000 Inf 0 1 beta 2.941 Inf 0 1 mu 1.000 Inf 0 1 sigma 2.000 Inf 0 1 -------------------------------------------- the problem is the infinite value for the errors which is not acceptable. I would be pleased if someone could solve this problem.
N° de projet : 15362954

Concernant le projet

4 propositions
Projet à distance
Actif à il y a 6 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
4 freelances proposent en moyenne $45 USD pour ce travail
Avatar de l'utilisateur
Hi I am a very experienced statistician and academic writer. I have completed several PhD level thesis projects involving advanced statistical analysis of data. I have worked with data from several companies and have done projects involving high level quantitative analysis and data interpretation skills to study the trends, time behaviour and compare the variables in the data. I can do advanced level analysis in SPSS, R, WEKA, TABLEAU and excel tools like machine learning, hypothesis testing, forecasting, T-test, ANOVA etc. Looking forward to discussion, Best Regards, Suyash
$100 USD en 1 jour
4,8 (99 commentaires)
6,7
6,7
Avatar de l'utilisateur
no need to worry Relevant Skills and Experience r studio, statistics Proposed Milestones $25 USD - full work
$25 USD en 1 jour
4,9 (47 commentaires)
5,4
5,4
Avatar de l'utilisateur
I am an engineer and confident of what I can do and deliver. I can work on Arduino, Python, Matlab, among others. I am asking for a chance to work with you on your project. Thanks Relevant Skills and Experience Matlab and Mathematica, R Programming Language, Software Development, Statistical Analysis, Statistics Proposed Milestones $25 USD - initial milestone
$25 USD en 1 jour
4,8 (21 commentaires)
4,9
4,9
Avatar de l'utilisateur
A proposal has not yet been provided
$30 USD en 8 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de TURKEY
Turkey
0,0
0
Méthode de paiement vérifiée
Membre depuis oct. 9, 2017

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.