<?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 Re: polynomial regression model in qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472351#M99783</link>
    <description>&lt;P&gt;Hi Aarti,&lt;/P&gt;
&lt;P&gt;Yes, you can create a Polynomial Regression Trend in Qlik Sense. Here’s a basic outline of how to do it:&lt;/P&gt;
&lt;P&gt;1. Prepare Your Data: Ensure your dataset includes the variables for which you want to establish the polynomial regression.&lt;BR /&gt;2. Load the Data: Load your data into Qlik Sense.&lt;BR /&gt;3. Create a Scatter Plot: Create a scatter plot to visualize the relationship between your variables.&lt;BR /&gt;4. Add Polynomial Trend Line:&lt;BR /&gt;• Go to the scatter plot properties.&lt;BR /&gt;• Navigate to Data, to your measure properties and select “Trend Lines.”&amp;nbsp;&lt;BR /&gt;• Choose “Polynomial” and set the degree of the polynomial (e.g., 2 for quadratic, 3 for cubic).&lt;BR /&gt;5. Set Expression for Polynomial Regression: If you need more control, you might want to set your own expressions. Here’s an example for a quadratic polynomial regression (second-degree polynomial):&lt;/P&gt;
&lt;P&gt;y = a + bx + cx^2&lt;/P&gt;
&lt;P&gt;5. You can use the LINEST_M and LINEST_B functions in Qlik to calculate the coefficients a, b, and c.&lt;/P&gt;
&lt;P&gt;Here’s a simple script to calculate these coefficients:&lt;/P&gt;
&lt;P&gt;// Example of data load script&lt;BR /&gt;LOAD&lt;BR /&gt;YourXField,&lt;BR /&gt;YourYField&lt;BR /&gt;FROM [YourDataSource];&lt;/P&gt;
&lt;P&gt;// Calculation of coefficients&lt;BR /&gt;LET vA = LINEST_B(YourYField, YourXField, 2);&lt;BR /&gt;LET vB = LINEST_M(YourYField, YourXField, 1);&lt;BR /&gt;LET vC = LINEST_M(YourYField, YourXField, 2);&lt;/P&gt;
&lt;P&gt;// Create polynomial expression&lt;BR /&gt;SET vPolyExpression = $(vA) + $(vB) * YourXField + $(vC) * YourXField^2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2024 11:11:41 GMT</pubDate>
    <dc:creator>igoralcantara</dc:creator>
    <dc:date>2024-07-23T11:11:41Z</dc:date>
    <item>
      <title>polynomial regression model in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472154#M99756</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;Anyone created "Polynomial Regression Trend" in Qlik sense.&lt;/P&gt;
&lt;P&gt;Please share the knowledge/set expression anything on same.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Aarti&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 15:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472154#M99756</guid>
      <dc:creator>Artik</dc:creator>
      <dc:date>2024-07-22T15:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: polynomial regression model in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472236#M99763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29224"&gt;@igoralcantara&lt;/a&gt;,&amp;nbsp;I think you can help on this.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 02:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472236#M99763</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-07-23T02:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: polynomial regression model in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472351#M99783</link>
      <description>&lt;P&gt;Hi Aarti,&lt;/P&gt;
&lt;P&gt;Yes, you can create a Polynomial Regression Trend in Qlik Sense. Here’s a basic outline of how to do it:&lt;/P&gt;
&lt;P&gt;1. Prepare Your Data: Ensure your dataset includes the variables for which you want to establish the polynomial regression.&lt;BR /&gt;2. Load the Data: Load your data into Qlik Sense.&lt;BR /&gt;3. Create a Scatter Plot: Create a scatter plot to visualize the relationship between your variables.&lt;BR /&gt;4. Add Polynomial Trend Line:&lt;BR /&gt;• Go to the scatter plot properties.&lt;BR /&gt;• Navigate to Data, to your measure properties and select “Trend Lines.”&amp;nbsp;&lt;BR /&gt;• Choose “Polynomial” and set the degree of the polynomial (e.g., 2 for quadratic, 3 for cubic).&lt;BR /&gt;5. Set Expression for Polynomial Regression: If you need more control, you might want to set your own expressions. Here’s an example for a quadratic polynomial regression (second-degree polynomial):&lt;/P&gt;
&lt;P&gt;y = a + bx + cx^2&lt;/P&gt;
&lt;P&gt;5. You can use the LINEST_M and LINEST_B functions in Qlik to calculate the coefficients a, b, and c.&lt;/P&gt;
&lt;P&gt;Here’s a simple script to calculate these coefficients:&lt;/P&gt;
&lt;P&gt;// Example of data load script&lt;BR /&gt;LOAD&lt;BR /&gt;YourXField,&lt;BR /&gt;YourYField&lt;BR /&gt;FROM [YourDataSource];&lt;/P&gt;
&lt;P&gt;// Calculation of coefficients&lt;BR /&gt;LET vA = LINEST_B(YourYField, YourXField, 2);&lt;BR /&gt;LET vB = LINEST_M(YourYField, YourXField, 1);&lt;BR /&gt;LET vC = LINEST_M(YourYField, YourXField, 2);&lt;/P&gt;
&lt;P&gt;// Create polynomial expression&lt;BR /&gt;SET vPolyExpression = $(vA) + $(vB) * YourXField + $(vC) * YourXField^2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 11:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472351#M99783</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-07-23T11:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: polynomial regression model in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472353#M99784</link>
      <description>&lt;P&gt;Thank you so much for the detailed answer&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29224"&gt;@igoralcantara&lt;/a&gt;&amp;nbsp;Yes this works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 11:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/polynomial-regression-model-in-qlik-sense/m-p/2472353#M99784</guid>
      <dc:creator>Artik</dc:creator>
      <dc:date>2024-07-23T11:19:05Z</dc:date>
    </item>
  </channel>
</rss>

