Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<istmt>: 3499 gigs_ipolate_coeffs() not found #27

Open
suarezidueta opened this issue Nov 29, 2024 · 3 comments
Open

<istmt>: 3499 gigs_ipolate_coeffs() not found #27

suarezidueta opened this issue Nov 29, 2024 · 3 comments
Assignees
Labels
question Further information is requested user issue Someone's having a problem

Comments

@suarezidueta
Copy link

Hi,
I am trying to calculate centiles from values using the extended version gigs-stata

I have tried to calculate these centiles using weight_kg and gest_days in numeric and sex as string, int or byte as follows.

egen centiles2 = ig_nbs (weight_kg, "wfga", "v2c"), gest_days(gest_days) sex(sex3) sexcode(m=1, f=2) extend

egen centiles4 = ig_nbs (weight_kg, "wfga", "v2c"), gest_days(gest_days) sex(sex_int) sexcode(m="Male", f="Female") extend

egen centiles4 = ig_nbs (weight_kg, "wfga", "v2c"), gest_days(gest_days) sex(sex_byte) sexcode(m=1, f=2) extend

In all cases, I get this comment (which I did not get using the previous version)

: 3499 gigs_ipolate_coeffs() not found

I have tried reinstalling gigs-Stata, and all ado files are in the same file as my data, but it is not working yet.

May you please help me to fix this?

Your advice will be highly appreciated,
Lorena

@simpar1471
Copy link
Member

Hi Lorena,

As a first step, I'd recommend removing all the gigs-related .ado files from your working directory first. Once you install gigs, it should be available in your Stata PLUS directory with other ado-files from the internet - so Stata will be able to 'see' that gigs is installed without you moving the ado-files to your working directory.

Can you remove the gigs .ado files from your working directory, reinstall the package again, then let me know if you still get errors?

@simpar1471 simpar1471 self-assigned this Nov 29, 2024
@simpar1471 simpar1471 added bug Something isn't working user issue Someone's having a problem question Further information is requested and removed bug Something isn't working labels Nov 29, 2024
@simpar1471
Copy link
Member

Separately, to get slightly more precise results, I'd recommend doing egen double <varname> = ... so your results aren't the default float format.

@suarezidueta
Copy link
Author

Thanks so much for your time, Simon, the code is working now

Best wishes,
Lorena

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested user issue Someone's having a problem
Projects
None yet
Development

No branches or pull requests

2 participants