diff --git a/1CorRel.vb b/1CorRel.vb index df7ddb4..df4a614 100644 --- a/1CorRel.vb +++ b/1CorRel.vb @@ -1,3 +1,17 @@ +' Copyright (c) 2016 imacat. +' +' Licensed under the Apache License, Version 2.0 (the "License"); +' you may not use this file except in compliance with the License. +' You may obtain a copy of the License at +' +' http://www.apache.org/licenses/LICENSE-2.0 +' +' Unless required by applicable law or agreed to in writing, software +' distributed under the License is distributed on an "AS IS" BASIS, +' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +' See the License for the specific language governing permissions and +' limitations under the License. + ' 1CorRel: The macros to for generating the report of the Pearson’s correlation coefficient ' by imacat , 2016-08-10 @@ -10,6 +24,8 @@ Sub subRunCorrelation As Object Dim oSheet As Object, mRanges As Object Dim sExisted As String, nResult As Integer + DialogLibraries.loadLibrary "Stats" + ' Asks the user for the data range oRange = fnAskDataRange (ThisComponent) If IsNull (oRange) Then diff --git a/2PTTest.vb b/2PTTest.vb index 8e4148a..ff44a77 100644 --- a/2PTTest.vb +++ b/2PTTest.vb @@ -1,3 +1,17 @@ +' Copyright (c) 2016 imacat. +' +' Licensed under the Apache License, Version 2.0 (the "License"); +' you may not use this file except in compliance with the License. +' You may obtain a copy of the License at +' +' http://www.apache.org/licenses/LICENSE-2.0 +' +' Unless required by applicable law or agreed to in writing, software +' distributed under the License is distributed on an "AS IS" BASIS, +' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +' See the License for the specific language governing permissions and +' limitations under the License. + ' 2PTTest: The macros to for generating the report of paired T-Test ' by imacat , 2016-08-11 @@ -10,6 +24,8 @@ Sub subRunPairedTTest As Object Dim oSheet As Object, mRanges As Object Dim sExisted As String, nResult As Integer + DialogLibraries.loadLibrary "Stats" + ' Asks the user for the data range oRange = fnAskDataRange (ThisComponent) If IsNull (oRange) Then diff --git a/3ITTest.vb b/3ITTest.vb index 0f2c7b5..2f673b4 100644 --- a/3ITTest.vb +++ b/3ITTest.vb @@ -1,3 +1,17 @@ +' Copyright (c) 2016 imacat. +' +' Licensed under the Apache License, Version 2.0 (the "License"); +' you may not use this file except in compliance with the License. +' You may obtain a copy of the License at +' +' http://www.apache.org/licenses/LICENSE-2.0 +' +' Unless required by applicable law or agreed to in writing, software +' distributed under the License is distributed on an "AS IS" BASIS, +' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +' See the License for the specific language governing permissions and +' limitations under the License. + ' 3ITTest: The macros to for generating the report of independent T-Test ' by imacat , 2016-08-24 @@ -10,6 +24,8 @@ Sub subRunIndependentTTest As Object Dim oSheet As Object, mRanges As Object Dim sExisted As String, nResult As Integer + DialogLibraries.loadLibrary "Stats" + ' Asks the user for the data range oRange = fnAskDataRange (ThisComponent) If IsNull (oRange) Then diff --git a/4ANOVA.vb b/4ANOVA.vb index fab644e..4d922fe 100644 --- a/4ANOVA.vb +++ b/4ANOVA.vb @@ -1,3 +1,17 @@ +' Copyright (c) 2016 imacat. +' +' Licensed under the Apache License, Version 2.0 (the "License"); +' you may not use this file except in compliance with the License. +' You may obtain a copy of the License at +' +' http://www.apache.org/licenses/LICENSE-2.0 +' +' Unless required by applicable law or agreed to in writing, software +' distributed under the License is distributed on an "AS IS" BASIS, +' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +' See the License for the specific language governing permissions and +' limitations under the License. + ' 4ANOVA: The macros to for generating the report of ANOVA (Analyze of Variances) ' by imacat , 2016-08-31 @@ -10,6 +24,8 @@ Sub subRunANOVA As Object Dim oSheet As Object, mRanges As Object Dim sExisted As String, nResult As Integer + DialogLibraries.loadLibrary "Stats" + ' Asks the user for the data range oRange = fnAskDataRange (ThisComponent) If IsNull (oRange) Then diff --git a/5Chi2GoF.vb b/5Chi2GoF.vb index 4f6f2b7..1114278 100644 --- a/5Chi2GoF.vb +++ b/5Chi2GoF.vb @@ -1,3 +1,17 @@ +' Copyright (c) 2016 imacat. +' +' Licensed under the Apache License, Version 2.0 (the "License"); +' you may not use this file except in compliance with the License. +' You may obtain a copy of the License at +' +' http://www.apache.org/licenses/LICENSE-2.0 +' +' Unless required by applicable law or agreed to in writing, software +' distributed under the License is distributed on an "AS IS" BASIS, +' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +' See the License for the specific language governing permissions and +' limitations under the License. + ' 5Chi2GoF: The macros to for generating the report of Chi-square goodness of fit ' by imacat , 2016-09-05 @@ -10,6 +24,8 @@ Sub subRunChi2GoodnessOfFit As Object Dim oSheet As Object, mRanges As Object Dim sExisted As String, nResult As Integer + DialogLibraries.loadLibrary "Stats" + ' Asks the user for the data range oRange = fnAskDataRange (ThisComponent) If IsNull (oRange) Then diff --git a/9Tools.vb b/9Utils.vb similarity index 92% rename from 9Tools.vb rename to 9Utils.vb index ac38e68..7680add 100644 --- a/9Tools.vb +++ b/9Utils.vb @@ -1,14 +1,22 @@ -' 9Tools: The tool macros +' Copyright (c) 2016 imacat. +' +' Licensed under the Apache License, Version 2.0 (the "License"); +' you may not use this file except in compliance with the License. +' You may obtain a copy of the License at +' +' http://www.apache.org/licenses/LICENSE-2.0 +' +' Unless required by applicable law or agreed to in writing, software +' distributed under the License is distributed on an "AS IS" BASIS, +' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +' See the License for the specific language governing permissions and +' limitations under the License. + +' 9Utils: The utility macros. ' by imacat , 2016-08-10 Option Explicit -Sub subTest - BasicLibraries.loadLibrary "XrayTool" - - MsgBox fnFormatString ("abc % def", Array ("ghi")) -End Sub - ' fnCheckRangeName: Checks the range name and returns the range when ' found, or null when not found. Function fnCheckRangeName (oDoc As Object, sRangeName As String) As Object