<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to restrict number of knots for individual variable in SAS PROC ADAPTIVEREG procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-restrict-number-of-knots-for-individual-variable-in-SAS/m-p/736455#M35763</link>
    <description>&lt;P&gt;I am trying to use SAS PROC ADAPTIVEREG to do a variable selection and search for optimal knot position for spline transformation. One question that I encounter is how to, if possible, restrict the maximum number of knots for each individual variable. For example, I am doing a logistic regression with the response variable y and 10 predictors (x1 to x2). In the search, I would like to put a restriction that at most 2 interior knots can be used for x1. I know how to set the maximum number of basis functions for all variables via MAXBASis= option in MODEL statement. But not clear on how to do it for the individual variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: Is there a way to do it? If so, how to do it.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Apr 2021 16:41:23 GMT</pubDate>
    <dc:creator>xcai5591</dc:creator>
    <dc:date>2021-04-22T16:41:23Z</dc:date>
    <item>
      <title>How to restrict number of knots for individual variable in SAS PROC ADAPTIVEREG procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-restrict-number-of-knots-for-individual-variable-in-SAS/m-p/736455#M35763</link>
      <description>&lt;P&gt;I am trying to use SAS PROC ADAPTIVEREG to do a variable selection and search for optimal knot position for spline transformation. One question that I encounter is how to, if possible, restrict the maximum number of knots for each individual variable. For example, I am doing a logistic regression with the response variable y and 10 predictors (x1 to x2). In the search, I would like to put a restriction that at most 2 interior knots can be used for x1. I know how to set the maximum number of basis functions for all variables via MAXBASis= option in MODEL statement. But not clear on how to do it for the individual variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: Is there a way to do it? If so, how to do it.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 16:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-restrict-number-of-knots-for-individual-variable-in-SAS/m-p/736455#M35763</guid>
      <dc:creator>xcai5591</dc:creator>
      <dc:date>2021-04-22T16:41:23Z</dc:date>
    </item>
  </channel>
</rss>

