- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If so, please share the link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If so, please share the link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You need to provide a few details. What does your file look like? When you say ASC, do you mean an ascii text file? Can you include a couple of lines of the file?
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
And there are other two files one calle NIS_2017_Sensitivity.ASC and the other one call NIS_2017_hospital.ASC. I need to extract lyme disease data such as diagnosis, treatment, cost of staying. For each state
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Provide an example of the file.
Open the file with a text editor, Copy a few lines and then paste them into a text box opened on the forum with the </> icon above the message window.
If you have any documentation about the data file then provide that information or a link to the description.
How are you trying to "extract data"? Use one of the tools to import the data? The tools generally are for simple well structured files. If you have a complex or non-standard file then those tools are likely going to have a problem.
And 'receive error message' with no details of what specific task or the actual message is not very helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
And there are other two files one calle NIS_2017_Sensitivity.ASC and the other one call NIS_2017_hospital.ASC. I need to extract lyme disease data such as diagnosis, treatment, cost of staying. For each state
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
We can't see your computer, your monitor, your code, only what you post. You will need to provide more detailed specific information for help.
The NIS data typically comes with user documentation that should have some basic instructions on how to load the data. Have you read and followed those instructions? Is something in them not working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
There should also be a .sas program file for each .ASC text file.
You will probably need to made a small edit to the program file before running it to make sure that the program has the name of where you stored the ASC file.
Just open the program file in your SAS editor and look for the INFILE statement. In the programs I got they started with a PROC FORMAT step to define some format first so the DATA step that actual reads the file starts later in the file.
Unless they have made changes since I last loaded HCUP_NIS data files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
For that you need to understand what variables you have and what they mean.
For example is there a variable that indicates a state? How is it coded?
Is there a variable that indicates disease? How is it coded? Is Lyme Disease actually one of the diseases in the database?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content