This list of FAQs will be updated periodically.
Q: Another analyst is using a workbook that I created. He is receiving a "file not found" error when opening the workbook. Why? A: If the workbook specifies the data file as, say, M:\mydata.var, and the other user has the same directory mapped as N: (or another letter), WesVar will not be able to find the data file. You should use UNC filenames, like \\SRV1\VOL23\Myprojects\mydata.var in workbooks if sharing workbook files on a network, in the Input Data fill-in box in the workbook. Q: Does the order of the factors in the external FPC and JKN factor files matter? A: Yes. The factor files have one record per replicate. The records must be in the same order as the physical order of the replicate weights on the input file used to create the data (VAR) file. For example, suppose your replicate weights are named RWT1-RWT100, but that they were sorted in alphanumeric order: RWT1, RWT10, RWT100, RWT11, etc. The factor files must be in this order also. In version 4.2, the attach factors screen has a new format. Replicate weights are listed on the Attach Factors screen by their physical order in the data file. Both FPC factors and JKn factors must appear in this same order on the external files. Q: I use a non-English keyboard and cannot enter a decimal value using a comma for Fay_K on the Data File screen or for the logistic convergence criterion in Preferences or in a Regression Request/Options screen. What can I do? A: This problem has been fixed in version 4.2. Q: What does the following error mean in logistic regression: "Estimates are converging slowly or are diverging for full sample and replicates..."? A: This message is issued in logistic regression when the convergence criterion for parameter estimates is not met in the specified maximum number of iterations. This could be caused by the following:
- The convergence criterion has been changed from difference in log-likelihood in version 3 to relative difference in log-likelihood in version 4. If you were a version 3 user, you may have to manually change the convergence criterion from 0.025 to 1E-6 in Preferences and in any version 3 workbook that you import into version 4.
- You have few (or no) cases that have the characteristic being modeled in a cell. If your model contains a categorical independent variable, say RACE, and in replicate subsample 43 for RACE.1 there are no cases with the characteristic (dependent variable = 1), then the estimation algorithm will try to send the parameter estimate to negative infinity so that the predicted probability for RACE.1 is 0. In that case the parameter estimate will not converge but will get more and more negative at each iteration.
- You may need to collapse categories for one of your independent variables to eliminate the problem.
In the Regression Request/Output Control, check the boxes for Iteration History and Replicate Coefficients to get a detailed report on how the parameter estimates are changing.
Q: I can't get WesVar to read the SAS transport files I created. How do I create the transport file so that it's acceptable to WesVar? A: One alternative is to use the following code to create your SAS transport files. This is code for creating a SAS transport file (with a single member) named c:\export\wesvar.xpt from the sd2 file c:\input\data.sd2 to import into WesVar 4.0:
options validvarname=v6;
libname in1 'c:\input';
libname out1 xport 'c:\export\wesvar.xpt';
proc copy in=in1 out=out1;
select data;
run;The statement, options validvarname=v6;, will cause SAS to generate unique 8-character names for variables with names longer than 8 characters. The VALIDVARNAME option is only valid using SAS Version 7 or later. It is not recognized (or needed) by earlier versions of SAS.
Q: I'm having trouble installing WesVar on Windows NT or Windows 2000. How can I get it to work? A: There does not seem to be a problem if the WesVar user has Administrator privileges. Q: I converted a WesVar 4.0 data file to SAS XPORT format. Using WesVar, I re-imported the data into WesVar and seemed to lose all my value labels. Did I do something wrong or can value labels not be imported? A: SAS value labels are not imported in WesVar, even if they were originally created in WesVar and exported to SAS. Q: What does the following error mean: "STRATUM 1 has non-consecutive varunits for METHOD=JKn"? A: VARUNITS must be numbered consecutively starting at 1 in each VARSTRAT. The number of VARUNITS can differ from one VARSTRAT to another. Q: Is it possible to create weights with one PSU in some strata with JKn design? A: WesVar does not allow the JKn method to be used unless there are at least 2 PSUs in every stratum. To use the JKn method, you would have to collapse any stratum with 1 PSU with another stratum.


雷达卡



京公网安备 11010802022788号







