高手们,我有一道题想请教大家。Assume you have a data set of claims, we would like to know the data that each beneficiary has met the required deductible payment of $275. Assume the data set includes claims data from 2008 and has an observation for each beneficiary with the following variables:a. BENE_ID: this is identified each beneficiary uniquelyb. Claim_Dt: date of the prescription drug claim, in SAS/ Stata data formatc. Drug_cost: cost of the drug which contributes to the deductiblePlease sketch out a program that would determine the date of the claims that puts the individual over the deductible $275, i.e., when the cumulative total drug cost year to date exceeds $275.我只知道要做累计求cost,应该用 lag在sas里。希望大神们给出具体解题思路和programming 步骤。重要重要!拜托了~~


雷达卡



京公网安备 11010802022788号







