Dear list,
I'm a beginner on Stata.
My situation is as follows:
I have 23,000+ IDs (individuals) who each have performed one or more services which creates an invoice. Each record is a line item on an invoice with the interval variable "allowedcharege" A date variable and a transaction number is assigned to each line item to prevent duplication of records.
I want to sort the IDs from the highest calculated sum of the invoices to the lowest.
Thanks
Richard
Related Posts with Grouping a variable that has a calculated field
Dropping duplicated time vars conditional to changes of other variablesHello, I'm trying to get make this into a panel, but I can't since it duplicated time observations …
Tempfile invalid file specification[previous code] foreach q in ca cb cc cd ce { preserve gen var = "`q'" tempfile ``q'' save ``q'', r…
repeating random sample and averaging the resultsHi all, I'm trying to do an analysis of covariance (ANCOVA) for a sample of all non-financial firms…
Unable to refer to sreturned varlist outside of programI wrote an sclass program which returns two variable lists in separate macros: Code: capture prog…
Ttest or ranksum approach for panel dataHi there, I was hoping you could help. I would like to compare the means between 2 samples for pane…
Subscribe to:
Post Comments (Atom)
0 Response to Grouping a variable that has a calculated field
Post a Comment