Mercurial > repos > iuc > rpy_statistics_collection
comparison partialR_square.xml @ 1:2e7bc1bb2dbe draft default tip
Uploaded
| author | iuc |
|---|---|
| date | Fri, 09 Jan 2015 12:56:07 -0500 |
| parents | ffcdde989859 |
| children |
comparison
equal
deleted
inserted
replaced
| 0:ffcdde989859 | 1:2e7bc1bb2dbe |
|---|---|
| 3 <expand macro="requirements" /> | 3 <expand macro="requirements" /> |
| 4 <macros> | 4 <macros> |
| 5 <import>statistic_tools_macros.xml</import> | 5 <import>statistic_tools_macros.xml</import> |
| 6 </macros> | 6 </macros> |
| 7 <command interpreter="python"> | 7 <command interpreter="python"> |
| 8 partialR_square.py | 8 <![CDATA[ |
| 9 partialR_square.py | |
| 9 $input1 | 10 $input1 |
| 10 $response_col | 11 $response_col |
| 11 $predictor_cols | 12 $predictor_cols |
| 12 $out_file1 | 13 $out_file1 |
| 13 1>/dev/null | 14 1>/dev/null |
| 15 ]]> | |
| 14 </command> | 16 </command> |
| 15 <inputs> | 17 <inputs> |
| 16 <param format="tabular" name="input1" type="data" label="Select data" help="Dataset missing? See TIP below."/> | 18 <param format="tabular" name="input1" type="data" label="Select data" help="Dataset missing? See TIP below."/> |
| 17 <param name="response_col" label="Response column (Y)" type="data_column" data_ref="input1" /> | 19 <param name="response_col" label="Response column (Y)" type="data_column" data_ref="input1" /> |
| 18 <param name="predictor_cols" label="Predictor columns (X)" type="data_column" data_ref="input1" multiple="true"> | 20 <param name="predictor_cols" label="Predictor columns (X)" type="data_column" data_ref="input1" multiple="true"> |
| 28 <param name="input1" value="regr_inp.tabular"/> | 30 <param name="input1" value="regr_inp.tabular"/> |
| 29 <param name="response_col" value="3"/> | 31 <param name="response_col" value="3"/> |
| 30 <param name="predictor_cols" value="1,2"/> | 32 <param name="predictor_cols" value="1,2"/> |
| 31 <output name="out_file1" file="partialR_result.tabular"/> | 33 <output name="out_file1" file="partialR_result.tabular"/> |
| 32 </test> | 34 </test> |
| 33 | 35 |
| 34 </tests> | 36 </tests> |
| 35 <help> | 37 <help> |
| 38 <![CDATA[ | |
| 36 | 39 |
| 37 .. class:: infomark | 40 .. class:: infomark |
| 38 | 41 |
| 39 **TIP:** If your data is not TAB delimited, use *Edit Datasets->Convert characters* | 42 **TIP:** If your data is not TAB delimited, use *Edit Datasets->Convert characters* |
| 40 | 43 |
| 41 ----- | 44 ----- |
| 42 | 45 |
| 43 .. class:: infomark | 46 .. class:: infomark |
| 44 | 47 |
| 45 **What it does** | 48 **What it does** |
| 46 | 49 |
| 47 This tool computes the Partial R squared for all possible variable subsets using the following formula: | 50 This tool computes the Partial R squared for all possible variable subsets using the following formula: |
| 48 | 51 |
| 49 **Partial R squared = [SSE(without i: 1,2,...,p-1) - SSE (full: 1,2,..,i..,p-1) / SSE(without i: 1,2,...,p-1)]**, which denotes the case where the 'i'th predictor is dropped. | 52 **Partial R squared = [SSE(without i: 1,2,...,p-1) - SSE (full: 1,2,..,i..,p-1) / SSE(without i: 1,2,...,p-1)]**, which denotes the case where the 'i'th predictor is dropped. |
| 50 | 53 |
| 51 | 54 |
| 52 | 55 |
| 53 In general, **Partial R squared = [SSE(without i: 1,2,...,p-1) - SSE (full: 1,2,..,i..,p-1) / SSE(without i: 1,2,...,p-1)]**, where, | 56 In general, **Partial R squared = [SSE(without i: 1,2,...,p-1) - SSE (full: 1,2,..,i..,p-1) / SSE(without i: 1,2,...,p-1)]**, where, |
| 54 | 57 |
| 61 - Column 1 (Model): denotes the variables present in the model | 64 - Column 1 (Model): denotes the variables present in the model |
| 62 - Column 2 (R-sq): denotes the R-squared value corresponding to the model in Column 1 | 65 - Column 2 (R-sq): denotes the R-squared value corresponding to the model in Column 1 |
| 63 - Column 3 (Partial R squared_Terms): denotes the variable/s for which Partial R squared is computed. These are the variables that are absent in the reduced model in Column 1. A '-' in this column indicates that the model in Column 1 is the Full model. | 66 - Column 3 (Partial R squared_Terms): denotes the variable/s for which Partial R squared is computed. These are the variables that are absent in the reduced model in Column 1. A '-' in this column indicates that the model in Column 1 is the Full model. |
| 64 - Column 4 (Partial R squared): denotes the Partial R squared value corresponding to the variable/s in Column 3. A '-' in this column indicates that the model in Column 1 is the Full model. | 67 - Column 4 (Partial R squared): denotes the Partial R squared value corresponding to the variable/s in Column 3. A '-' in this column indicates that the model in Column 1 is the Full model. |
| 65 | 68 |
| 66 *R Development Core Team (2010). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.* | 69 *R Development Core Team (2010). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.* |
| 67 | 70 |
| 71 ]]> | |
| 68 </help> | 72 </help> |
| 69 </tool> | 73 </tool> |
