Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ipacheckoutliers to export outliers into a csv file

    Hello! I am trying to export outliers into an excel file using ipacheckoutliers command from ipacheck package. Here is my code.

    Code:
    gl inputfile "C:\Users\user\Downloads\hfc_inputs.xlsm"
    gl id ID
    gl enum enumerator
    gl date date
    gl hfc_output "C:\Users\user\Downloads\hfc_output.xlsm"
    gl ol_nolabel ""
    gl run_outliers 1
    
    
      if $run_outliers {
            ipacheckoutliers using "${inputfile}",            ///
                id(${id})                                    ///
                enumerator(${enum})                         ///    
                date(${date})                                 ///
                sheet("outliers")                            ///
                outfile("${hfc_output}")                     ///
                outsheet("outliers")                        ///
                ${ol_nolabel}                                ///
                sheetreplace
       }
    After running this code, I am getting this, "too few variables specified". I am not sure what went wrong here. Any help regarding this will be highly appreciated.
    Tags: outlier export, outliers, ipacheck , ipacheckoutliers

  • #2
    I figured out the error. Variable names weren't added in the input file.

    Comment

    Working...
    X