Find Jobs
Hire Freelancers

help fixing my R code script (copulas)

$250-750 USD

Completed
Posted almost 12 years ago

$250-750 USD

Paid on delivery
hello. i have some R code that estimates an index popular in the quantitative social sciences called the polychoric correlation coefficient. the difference is that instead of assuming a multivariate normal distribution an elliptical copula distribution is assumed as a model. the R script works fine, i generate good enough estimates but i cannot, for the life of me, get appropriate standard errors (SE). there are functions in R that estimate this index via maximum likelihood so i have been using these as comparison to evaluate my results. they should be the same (within reasonable rounding error of course) but mines are far, far off. your job would be to look at my R script (which otherwise works perfectly) and help me fix it to obtain standard errors that match the ones from the already-developed functions in the 'polycor' R package. i know it is impossible for them to be the exact same, but they should be within a reasonable range of which other. ideally, the ones from the copula model should be smaller PS- as a little bit of a guideline, this is a little more complicated than just grabing the 'optim' function, setting hessian=T and taking the square root of the inverse of the diagonal. i'm wondering if something is wrong with my likelihood function (although i hope not because the estimates i get match the ones i would expect) i am comfortable around statistics and R but this is definitely escaping my abilities a little bit.
Project ID: 1654093

About the project

3 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I did my statistics dissertation computation work in R. I think I can solve your interesting problem.
$600 USD in 10 days
5.0 (4 reviews)
4.8
4.8
3 freelancers are bidding on average $500 USD for this job
User Avatar
sir, please check PMB.... thanks
$500 USD in 4 days
4.9 (15 reviews)
5.0
5.0
User Avatar
Hi! The first thing I'd try would be to test your functions with normal data in place of elliptical. Thus we could know if the likelihood is good.
$400 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Toronto, Canada
5.0
12
Payment method verified
Member since Oct 11, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.