opensafely / school-age-children-and-covid

Repo for the project that examines the association between school age children in the house and covid-19 outcomes
3 stars 0 forks source link

Added descriptive plots, uni+multivar analysis #8

Closed hjforbes closed 4 years ago

hjforbes commented 4 years ago

descriptive KM plots added, plus do files to output uni and multivariate analysis for main model

hjforbes commented 4 years ago

@StatsFizz @alexwalkercebm

I'm using your do file Fizz, called descriptive plots to draw KM plots, which uses a command called grc1leg. It runs locally, but I guess STATA on the server doesn't have it installed? How did you get round this?

StatsFizz commented 4 years ago

If you put the ado file (attached) in the analysis folder it should just find it.

A (potentially tidier) alternative that I might use in my next one, is to put such files in a sub-folder and add it to the adopath, via the command adopath ++ “ADD_FOLDER_HERE”. Either should work…

From: hjforbes notifications@github.com Sent: 30 June 2020 16:09 To: opensafely/school-age-children-and-covid school-age-children-and-covid@noreply.github.com Cc: Elizabeth Williamson Elizabeth.Williamson@lshtm.ac.uk; Mention mention@noreply.github.com Subject: Re: [opensafely/school-age-children-and-covid] Added descriptive plots, uni+multivar analysis (#8)

@StatsFizzhttps://github.com/StatsFizz @alexwalkercebmhttps://github.com/alexwalkercebm

I'm using your do file Fizz, called descriptive plots to draw KM plots, which uses a command called grc1leg. It runs locally, but I guess STATA on the server doesn't have it installed? How did you get round this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/opensafely/school-age-children-and-covid/pull/8#issuecomment-651855090, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOANFTOXWEAAUR4GP3R3HMLRZH5XBANCNFSM4OMJ75OQ.

hjforbes commented 4 years ago

If you put the ado file (attached) in the analysis folder it should just find it. A (potentially tidier) alternative that I might use in my next one, is to put such files in a sub-folder and add it to the adopath, via the command adopath ++ “ADD_FOLDER_HERE”. Either should work… From: hjforbes notifications@github.com Sent: 30 June 2020 16:09 To: opensafely/school-age-children-and-covid school-age-children-and-covid@noreply.github.com Cc: Elizabeth Williamson Elizabeth.Williamson@lshtm.ac.uk; Mention mention@noreply.github.com Subject: Re: [opensafely/school-age-children-and-covid] Added descriptive plots, uni+multivar analysis (#8) @StatsFizzhttps://github.com/StatsFizz @alexwalkercebmhttps://github.com/alexwalkercebm I'm using your do file Fizz, called descriptive plots to draw KM plots, which uses a command called grc1leg. It runs locally, but I guess STATA on the server doesn't have it installed? How did you get round this? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOANFTOXWEAAUR4GP3R3HMLRZH5XBANCNFSM4OMJ75OQ.

Thanks @StatsFizz

hjforbes commented 4 years ago

@StatsFizz i can't see the attachment - is it hidden somewhere?

StatsFizz commented 4 years ago

grc1leg.zip

does that work?

hjforbes commented 4 years ago

@CarolineMorton @annaschultze quick note to say that I will let Anna know when all the do files are written, and she will go through and check the code is in line with the protocol in one go. I think that's easier than doing her doing it in stages. So in the meantime Caroline if you're okay to do some high level checks so we can get it running, that would be great.