Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Graphing long data with nested components


From   Anne McCarthy <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Graphing long data with nested components
Date   Tue, 14 Aug 2012 13:06:27 +0100

Dear statalisters,

I have a question regarding graphing data in Stata/MP 10.1 for windows. 
The dataset details services provided by hospitals managed under public benefit corporations.
Each public benefit corporation (PBC) may manage between 1 to 13 hospitals. 
A list of 147 services were identified across the entire range of hospitals and thus each row of the original dataset consisted of: 
a public benefit corporation, each hospital under the umbrella of this PBC, and the 147 services which could be potentially provided at each hospital. 
Initially I extracted the data into rows (as I did not know what the nature or distribution of hospitals or services was) I then reshaped the data, to give the structure below(a simple panel)- I have limited the example no. of hospitals to 5 and services to 4.  

Public benefit corporation   hospital   Service Accident and emergency     Service Alcohol addiction  Service  Allergy services  Service  Anaesthesia services
a				1		yes
a				2
a				3						yes
a				4
a				5
b				1
b				2						yes
b				3
b				4
b				5										yes			yes	
c				1						yes
c				2
c				3
c				4		yes
c				5


I would like to be able to graphically illustrate the various cluster types observed in each PBC -nesting if possible service, within hospital, within PBC 
Any ideas on what I should look for in the manual to start this process 

Many thanks

Anne 
Dublin



_____________________________________________________________ 
The Health Research Board 
_____________________________________________________________ 
This email and any files transmitted with it are private, confidential, possibly privileged and intended solely for the use of the individual or entity to whom they are addressed. 
If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, please note that any review, copying, dissemination, disclosure, alteration, printing, circulation, transmission or other use of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. 
If you have received this e-mail or any file or attachment transmitted with it in error, please notify the sender of the e-mail immediately. 
Though this e-mail has been scanned for viruses, you are advised to carry out your own virus check before opening any messages or attachments. The Health Research Board accepts no liability for any loss or damage which may be caused by software viruses. 
For information on our organisation and the information and services we provide, visit http://www.hrb.ie 
_____________________________________________________________ 
An Bord Taighde Slainte. 
_____________________________________________________________ 
Is ábhar príobháideach agus faoi rún atá sa ríomhphost seo agus in aon chomhaid a tharchuirtear leis agus d'fhéadfadh go bhfuil sé faoi phribhléid dlí. Is don seolaí amháin é. 
Murar duitse an ríomhphost agus/nó aon chomhad nó iatán a ghabhann leis, nó murar tú atá freagrach as é a sheachadadh chuig an seolaí, tabhair faoi deara le do thoil go bhfuil dianchosc ar a oscailt, a chóipeáil, a scaipeadh, a nochtadh, a athrú, a phriontáil, a dháileadh, a tharchur nó aon leas eile a bhaint as, agus d’fhéadfadh sé bheith neamhdhleathach déanamh amhlaidh. 
Má fuair tú an ríomhphost seo nó aon chomhad nó iatán a tarchuireadh leis trí dhearmad, cuir an seoltóir ar an eolas láithreach le do thoil. 
Cé go ndearnadh an ríomhphost seo a sheiceáil le haghaidh víreas, moltar duit do sheiceáil féin a dhéanamh le haghaidh víreas sula n-osclaíonn tú aon teachtaireachtaí nó aon iatáin. Ní ghlacann an Bord Taighde Slainte le haon dliteanas ná le haon chaillteanas a tharlódh mar thoradh ar víreas bogearraí. 
Chun eolas a fháil ar ár n-eagraíocht agus ar na seirbhísí a chuirimid ar fáil, téigh chuig http://www.hrb.ie 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index