01-16-2024
SwordOrator99
Calcite | Level 5
Member since
08-03-2023
- 3 Posts
- 3 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by SwordOrator99
Subject Views Posted 892 01-15-2024 07:54 PM 1004 01-15-2024 12:27 AM 771 08-03-2023 10:41 AM -
Activity Feed for SwordOrator99
- Posted Re: Finding median of a group excluding certain ids within that group on SAS Programming. 01-15-2024 07:54 PM
- Liked Re: Finding median of a group excluding certain ids within that group for mkeintz. 01-15-2024 07:54 PM
- Posted Finding median of a group excluding certain ids within that group on SAS Programming. 01-15-2024 12:27 AM
- Liked Re: Can you tag what data is used by stratified proc phreg? for ballardw. 08-09-2023 01:07 AM
- Liked Re: Can you tag what data is used by stratified proc phreg? for sbxkoenk. 08-03-2023 01:50 PM
- Posted Can you tag what data is used by stratified proc phreg? on SAS Programming. 08-03-2023 10:41 AM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 1
01-15-2024
07:54 PM
Thank you, this works!
... View more
01-15-2024
12:27 AM
I am having trouble coding this problem. Thanks in advance to anyone who can help! Let's say we have individual-level data. The dataset has families that live in neighborhoods so the dataset would look something like this: Have: ID Fam_ID Neigh_ID Income 1 A CC 100,000 2 A CC 200,000 3 B CC 60,000 4 B CC 200,000 5 B CC 120,000 6 C DD 35,000 7 C DD 40,000 I am trying to find the median income of a neighborhood for each family that excludes the income of those in said family. For example, family A would have a med_neighborhood_income of 120,000 since the only other family in neighborhood CC is family B and the median income in family B is 120,000. The med_neighborhood_income value for family B would be ((100,000+200,000)/2) or 150,000. Hope this is clear.
... View more
08-03-2023
10:41 AM
Stratified proc phreg seems to only use discordant pairs within strata as informative data points for estimation. Is there an option to tag the data used in the analyses? I want to see what data is actually providing information for the output. The observations used is misleading because SAS says it "uses" the whole dataset, when I think only discordant pairs are informative.
... View more