Question: Lab Activity 9 - Comparing Two Groups (53 points total) Data set: College Scorecard Mideast 1. (4 pts) Let p1 = population proportion of NY
Lab Activity 9 - Comparing Two Groups (53 points total) Data set: College Scorecard Mideast 1. (4 pts) Let p1 = population proportion of NY Mideast doctoral institutions that are private and p 2 = population proportion of non-NY institutions that are private. Test the claim that the proportion of Mideast doctoral schools that are private is different for NY and non-NY schools. In other words, test H0: p1 - p2 = 0 versus Ha: p1 - p2 0. Perform the test using software. Paste the output below. Make sure to select the correct alternative hypothesis and test method (pooled estimate)! a. (2 pts) From the output, what is the test statistic, z, and the corresponding p-value? b. (4 pts) Based on the p-value, do the data support the claim that the proportion of private schools differs in NY vs other Mideast states? Why or why not? Answer assuming = .10. c. (2 pts) From the output, what is the pooled estimate of the proportion? (Note: if we reject H0, this is an estimate of the proportion of Mideast doctoral institutions that are private in both NY and other Mideast states.) 2. Let's determine if the average cost of school increased from 2010 to 2013 for Mideast doctoral institutions. a. (4 pts) Explain why we would use a paired samples test in this scenario. b. (3 pts) Using proper statistical notation, write down the null and alternative hypothesis for this test. Define d = 1 - 2, where 1 is the mean cost of school in 2013 and 2 is the mean cost of school in 2010. Null hypothesis: H0: Alterative hypothesis: Ha: c. (3 pts) Below are some descriptive statistics for 'Cost_of_school_2013' and 'Cost_of_school_2010' as obtained from Minitab Express. Use this to calculate the test statistic for the test defined in part b (formula given below). Assume that sd = 2226.8, and recall that . d. (1 pt) What are the degrees of freedom for this test statistic in part c? (See Section 9.5 of the online notes.) e. (4 pts) Use software to perform this test, and paste the output below. Use it to double-check your results from above as well. f. (5 pts) Decide between the null hypothesis and the alternative hypothesis based on the p-value and significance level, = .01. Then, write a sentence summarizing the real-world conclusion from your test. Make sure your conclusion is specific and clear. 3. Use the data to answer the question, \"Does the mean completion rate (2013) differ for public and private schools?\" Assume 99% confidence ( = .01). a. (3 pts) Explain why we can NOT use a paired samples t-test in this scenario. b. (2 pts) Complete the correct notation for the null and alternative hypotheses for this test by filling in the two blanks below with either =, , <, or >. Note that 1 is be the true mean completion rate (2013) for private schools, and 2 is the true mean completion rate (2013) for public schools. Null hypothesis: H0: 1 - 2 ___ 0 Alterative hypothesis: Ha: 1 - 2 ___ 0 c. (2 pts) Should we perform a pooled or unpooled t-test? Explain how you came to this conclusion. Note that sample standard deviation of completion rate in private schools is s1 = 0.15684 and the sample standard deviation of completion rate in public schools is s2 = 0.15488. (See Section 9.4 of the online notes.) d. (4 pts) Use software to perform the test from part b and paste the output below. Make sure to select the correct alternative hypothesis and the correct test (pooled vs. unpooled, based on part c). i. (2 pts) From the output, what is the test statistic, t, and the corresponding p-value? ii. (5 pts) Based on the p-value, what is your conclusion from the test? Please state your decision to reject or fail to reject H0, and explain using the p-value. Then, provide a sentence interpreting your findings in context of the problem. iii. (3 pts) What is the confidence interval for the differences in the mean completion rate (2013) for the two groups? Explain how this agrees with your conclusion for the test in part ii. SQLite format 3######@ ###'###$###$########################### ###############################'#-%############## X######################################################################### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ###########################################################{###55##tableCustom TextValueOrderCustomTextValueOrder CREATE TABLE [CustomTextValueOrder] ( [ColumnID] integer NOT NULL, [Value] ntext NOT NULL, CONSTRAINT [FK_TextValueOrder_WorksheetColumn] FOREIGN KEY([ColumnID]) REFERENCES [WorksheetColumn]([ID]) )# ##;;##tableCustomNumericValueOrderCustomNumericValueOrder#CREATE TABLE [CustomNumericValueOrder] ( [ColumnID] integer NOT NULL, [Value] real NOT NULL, CONSTRAINT [FK_NumericValueOrder_WorksheetColumn] FOREIGN KEY([ColumnID]) REFERENCES [WorksheetColumn]([ID]) )# ##OO#otableWorksheetColumnFormulaPlaceholderWorksheetColumnFormulaPlaceholder CREATE TABLE [WorksheetColumnFormulaPlaceholder] ( [WorksheetPosition] integer NOT NULL, [CharacterPosition] integer NOT NULL, [PlaceholderWorksheetPosition] integer NOT NULL, [VariableType] smallint NOT NULL, CONSTRAINT [CK_VariableType] CHECK ([VariableType] >= 0 and [VariableType] <= 2), CONSTRAINT [FK_FormulaPlaceholder_Formula] FOREIGN KEY([WorksheetPosition]) REFERENCES [WorksheetColumnFormula]([WorksheetPosition]) )####99#KtableWorksheetColumnFormulaWorksheetColumnFormula CREATE TABLE [WorksheetColumnFormula] ( [WorksheetPosition] integer NOT NULL, [Formula] ntext NOT NULL, [DisplayFormula] ntext NOT NULL, [Status] smallint NOT NULL, [ErrorMessage] ntext NULL, [ErrorCharacterPosition] int NULL, CONSTRAINT [FK_Formula_WorksheetColumn] FOREIGN KEY([WorksheetPosition]) REFERENCES [WorksheetColumn]([WorksheetPosition]) )N###++#StableWorksheetColumnWorksheetColumn#CREATE TABLE [WorksheetColumn] ( [ID] integer primary key autoincrement NOT NULL, [WorksheetPosition] integer NOT NULL, [DataType] smallint NOT NULL, [Name] ntext NULL, [Description] ntext NULL, [Format] smallint NULL, [DecimalPlaces] smallint NULL, [MeasurementType] smallint NULL, [ValueOrder] smallint NULL, [ValuesID] integer NOT NULL, [LastModified] datetime DEFAULT(strftime('%Y-%m-%d %H:%M:%f', 'now')), CONSTRAINT [FK_Values_BlobStorage] FOREIGN KEY([ValuesID]) REFERENCES [BlobStorage]([ID]), CONSTRAINT [CK_WorksheetPosition] CHECK ([WorksheetPosition] >= 0), CONSTRAINT [CK_DataType] CHECK ([DataType] >= 0 and [DataType] <= 2), CONSTRAINT [CK_Format] CHECK ([Format] >= 0 and [Format] <= 2), CONSTRAINT [CK_DecimalPlaces] CHECK ([DecimalPlaces] >= 0), CONSTRAINT [CK_MeasurementType] CHECK ([MeasurementType] >= 0 and [MeasurementType] <= 2), CONSTRAINT [CK_ValueOrder] CHECK ([ValueOrder] >= 0 and [ValueOrder] <= 2) )@######OtableWorksheetWorksheet#CREATE TABLE [Worksheet] ( [ID] integer primary key autoincrement NOT NULL, [Creator] ntext NULL, [Date] ntext NULL, [Comments] ntext NULL, [Source] ntext NULL )P###++#Ytablesqlite_sequencesqlite_sequence#CREATE TABLE sqlite_sequence(name,seq))#######tableBlobStorageBlobStorage#CREATE TABLE [BlobStorage] ( [ID] integer primary key autoincrement NOT NULL, [BlobValue] blob NULL, [Compressed] boolean NULL, [UncompressedSize] int NULL, [Size] int NULL, [CompressionRatio] real NULL, [SampleCompressionRatio] real NULL, [NumValues] int NULL )####++#}tableProjectMetadataProjectMetadata#CREATE TABLE [ProjectMetadata] ( [Author] ntext NULL, [Title] ntext NULL, [Keywords] ntext NULL, [Comments] ntext NULL )~###))#7tableProjectSettingProjectSetting#CREATE TABLE [ProjectSetting] ( [ID] ntext primary key NOT NULL, [Value] ntext NULL );###O)##indexsqlite_autoindex_ProjectSetting_1Proj############### ############################################################################# ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ######################################################## %#DataPaneZoom1.0###)#OutputPaneZoom1.0 ############################################################################# ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ############################################%OutputPaneZoom##)#OutputPaneZoom### %#DataPaneZoom# ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ #########################"################################################## ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ##################################################################q# #@ #####x#(MLf#REe%M!lrRx
'%RSS7Nv#f %;##O#(E%-5Y#\\#_#%#D#B)#3dlI p7z ^##T|l J(/k#W(yZ#7j| ##R68rueL11v 9JMnMkH #UB##OgPFl']koiO#+?,#dYe2#1fm[s@{xoC##B#H#M#6J}*#j##\\q#{o;gq4\\y#1##+m)JrE#&o#Y?CD]~o'(ZF##@H#!y;cF ##%g)>CE J{o$''O#7###WB~#h#Q!=#`_?# .~%\\9/O#_?O##'? K1# b~b#'6SWX##J#< Y###'6#9sNO d~#dKGN~/##^#O?8#### #T #####x5=hSa#VKb]Q#2F#JR?#! G#E#)T#E:FE(8X#1UkA##im#3HZMzFD~#c#lLN,r;eK 2_jV =nEedxQ#)__##6IU?..(g#d5'+y#*d`&wG=## ~&C$IY~I {V6Y#Ze2"dGFwx 2c}##K?/C#S22i=E=VNw? 4#e2{\\*0#}+h#dz< #qS?Mkw?G;r ?#R ;| ##>w#z#7#;0$+#-:>#I|%+N4VY6feuNUr? #{`4Io=V7 ? Nt :vPPI[##7J##$[d#MD6Gm;e>^r>*AsH#3,#%w;N #=)#6w9;3#2yh;]~K?^C!##d?###!#### ###### ####################################################################### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ #####################################################1#CommandTransaction# ### Worksheet#####BlobStorage###+#WorksheetColumn### User ####Output#####UserState#####Command# ############################################################################## ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ #####################H### #/Users/emiliapascarella/Downloads/College_Scorecard_Mideast-6.MTW### O####s#H#####p#5 O############################################################################### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ##############9 ## 5######;Completion_rate_20102016-07-18 15:18:19.6968 ## 3######; Cost_of_school_2010 2016-07-18 15:18:19.6965# ## -######;#SAT_average_2010#2016-07-18 15:18:19.6928 ## 3######; Admission_rate_2010 2016-07-18 15:18:19.6919 ## 5######; Completion_rate_2013 2016-07-18 15:18:19.6908# ## 3######;#Cost_of_school_2013#2016-07-18 15:18:19.6895# ## -######;#SAT_average_2013#2016-07-18 15:18:19.6888# ## 3######;#Admission_rate_2013#2016-07-18 15:18:19.687+# ##########;##Type##2016-07-18 15:18:19.686)# ##########;##NY##2016-07-18 15:18:19.685,# ##########;##State##2016-07-18 15:18:19.6842# ##########;##Institution##2016-07-18 15:18:19.684)# # ###### ;UnitID2016-07-18 15:18:19.681 ############################################################################## ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ##################K###E[###form = IF(="NY","Yes","No")form 'NY' = IF('State'="NY","Yes","No") ############################################################################# ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ############### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ###### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ######### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ############### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ##################################################### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ##################################################f##I#u## [# ############################################################################## ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ #######################################################################{##~###) )#7tableProjectSettingProjectSetting#CREATE TABLE [ProjectSetting] ( [ID] ntext primary key NOT NULL, [Value] ntext NULL );###O)##indexsqlite_autoindex_ProjectSetting_1ProjectSetting#####+ +#}tableProjectMetadataProjectMetadata#CREATE TABLE [ProjectMetadata] ( [Author] ntext NULL, [Title] ntext NULL, [Keywords] ntext NULL, [Comments] ntext NULL ))#######tableBlobStorageBlobStorage#CREATE TABLE [BlobStorage] ( [ID] integer primary key autoincrement NOT NULL, [BlobValue] blob NULL, [Compressed] boolean NULL, [UncompressedSize] int NULL, [Size] int NULL, [CompressionRatio] real NULL, [SampleCompressionRatio] real NULL, [NumValues] int NULL )P###++#Ytablesqlite_sequencesqlite_sequence#CREATE TABLE sqlite_sequence(name,seq)@######OtableWorksheetWorksheet#CREATE TABLE [Worksheet] ( [ID] integer primary key autoincrement NOT NULL, [Creator] ntext NULL, [Date] ntext NULL, [Comments] ntext NULL, [Source] ntext NULL )N###++#StableWorksheetColumnWorksheetColumn#CREATE TABLE [WorksheetColumn] ( [ID] integer primary key autoincrement NOT NULL, [WorksheetPosition] integer NOT NULL, [DataType] smallint NOT NULL, [Name] ntext NULL, [Description] ntext NULL, [Format] smallint NULL, [DecimalPlaces] smallint NULL, [MeasurementType] smallint NULL, [ValueOrder] smallint NULL, [ValuesID] integer NOT NULL, [LastModified] datetime DEFAULT(strftime('%Y-%m-%d %H:%M:%f', 'now')), CONSTRAINT [FK_Values_BlobStorage] FOREIGN KEY([ValuesID]) REFERENCES [BlobStorage]([ID]), CONSTRAINT [CK_WorksheetPosition] CHECK ([WorksheetPosition] >= 0), CONSTRAINT [CK_DataType] CHECK ([DataType] >= 0 and [DataType] <= 2), CONSTRAINT [CK_Format] CHECK ([Format] >= 0 and [Format] <= 2), CONSTRAINT [CK_DecimalPlaces] CHECK ([DecimalPlaces] >= 0), CONSTRAINT [CK_MeasurementType] CHECK ([MeasurementType] >= 0 and [MeasurementType] <= 2), CONSTRAINT [CK_ValueOrder] CHECK ([ValueOrder] >= 0 and [ValueOrder] <= 2) )####99#KtableWorksheetColumnFormulaWorksheetColumnFormula CREATE TABLE [WorksheetColumnFormula] ( [WorksheetPosition] integer NOT NULL, [Formula] ntext NOT NULL, [DisplayFormula] ntext NOT NULL, [Status] smallint NOT NULL, [ErrorMessage] ntext NULL, [ErrorCharacterPosition] int NULL, CONSTRAINT [FK_Formula_WorksheetColumn] FOREIGN KEY([WorksheetPosition]) REFERENCES [WorksheetColumn]([WorksheetPosition]) )# ##OO#otableWorksheetColumnFormulaPlaceholderWorksheetColumnFormulaPlaceholder CREATE TABLE [WorksheetColumnFormulaPlaceholder] ( [WorksheetPosition] integer NOT NULL, [CharacterPosition] integer NOT NULL, [PlaceholderWorksheetPosition] integer NOT NULL, [VariableType] smallint NOT NULL, CONSTRAINT [CK_VariableType] CHECK ([VariableType] >= 0 and [VariableType] <= 2), CONSTRAINT [FK_FormulaPlaceholder_Formula] FOREIGN KEY([WorksheetPosition]) REFERENCES [WorksheetColumnFormula]([WorksheetPosition]) )# ##;;##tableCustomNumericValueOrderCustomNumericValueOrder#CREATE TABLE [CustomNumericValueOrder] ( [ColumnID] integer NOT NULL, [Value] real NOT NULL, CONSTRAINT [FK_NumericValueOrder_WorksheetColumn] FOREIGN KEY([ColumnID]) REFERENCES [WorksheetColumn]([ID]) ){###55##tableCustomTextValueOrderCustomTextValueOrder CREATE TABLE [CustomTextValueOrder] ( [ColumnID] integer NOT NULL, [Value] ntext NOT NULL, CONSTRAINT [FK_TextValueOrder_WorksheetColumn] FOREIGN KEY([ColumnID]) REFERENCES [WorksheetColumn]([ID]) )#####_##_#h # #[#a#]######################################################################### ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ##################################b#######tableBLOGInfoBLOGInfo#CREATE TABLE [BLOGInfo] ( [LinearModelID] integer NOT NULL, [LinkFunctionType] integer NOT NULL, [Dispersion] real NOT NULL, [EstimateDispersion] boolean NOT NULL, [ResponseInputType] integer NOT NULL, [EventValueName]##### #####StableLinearModelLinearModelCREATE TABLE [LinearModel] ( [ID] integer primary key autoincrement NOT NULL, [IsDirty] boolean NOT NULL, [ConfidenceLevel] real NULL, [IntervalType] smallint NULL, [ModelType] smallint NOT NULL, [RMatrixID] integer NOT NULL, [RMatrixNumberOfRows] integer NOT NULL, [ZMatrixID] integer NOT NULL, [ZMatrixNumberOfRows] integer NOT NULL, [Rho] real NOT NULL, [ErrorDF] int NOT NULL, [MeanSquareError] real NULL, [NumberOfRowsToUse] int NOT NULL, [CovarianceMatrixID] integer NULL, [CovarianceMatrixNumberOfRows] integer NULL, [ComparisonMatrixID] integer NULL, [ComparisonMatrixNumberOfRows] integer NULL, [CreationDate] datetime NOT NULL DEFAULT(strftime('%Y-%m-%d %H:%M:%f', 'now')), CONSTRAINT [FK_RMatrix_BlobStorage] FOREIGN KEY([RMatrixID]) REFERENCES [BlobStorage]([ID]), CONSTRAINT [FK_ZMatrix_BlobStorage] FOREIGN KEY([ZMatrixID]) REFERENCES [BlobStorage]([ID]), CONSTRAINT [FK_CovarianceMatrix_BlobStorage] FOREIGN KEY([CovarianceMatrixID]) REFERENCES [BlobStorage]([ID]), CONSTRAINT [FK_ComparisonMatrix_BlobStorage] FOREIGN KEY([ComparisonMatrixID]) REFERENCES [BlobStorage]([ID]), CONSTRAINT [CK_IntervalType] CHECK ([IntervalType] >= 0 and [IntervalType] <= 2), CONSTRAINT [CK_ModelType] CHECK ([ModelType] >= 0 and [ModelType] <= 3) )$##33#otableLinearModelResponseLinearModelResponse#CREATE TABLE [LinearModelResponse] ( [LinearModelID] integer NOT NULL, [ResponseWorksheetPosition] integer NOT NULL, CONSTRAINT [FK_LinearModelResponse_LinearModel] FOREIGN KEY([LinearModelID]) REFERENCES [LinearModel]([ID]), CONSTRAINT [FK_LinearModelResponse_WorksheetColumn] FOREIGN KEY([ResponseWorksheetPosition]) REFERENCES[WorksheetColumn] ([WorksheetPosition]) )b#######tableBLOGInfoBLOGInfo#CREATE TABLE [BLOGInfo] ( [LinearModelID] integer NOT NULL, [LinkFunctionType] integer NOT NULL, [Dispersion] real NOT NULL, [EstimateDispersion] boolean NOT NULL, [ResponseInputType] integer NOT NULL, [EventValueName] ntext NOT NULL, [TrialFrequencyWorksheetPosition] integer NULL, CONSTRAINT [FK_BLOGInfo_LinearModel] FOREIGN KEY([LinearModelID]) REFERENCES [LinearModel]([ID]), CONSTRAINT [FK_BLOGInfo_TrialFrequency] FOREIGN KEY([TrialFrequencyWorksheetPosition]) REFERENCES[WorksheetColumn] ([WorksheetPosition]), CONSTRAINT [CK_LinkFunctionType] CHECK ([LinkFunctionType] >= 0 and [LinkFunctionType] <= 1), CONSTRAINT [CK_ResponseInputType] CHECK ([ResponseInputType] >= 0 and [ResponseInputType] <= 3) ) ###55#5tableLinearModelPredictorLinearModelPredictor#CREATE TABLE [LinearModelPredictor] ( [ID] integer primary key autoincrement NOT NULL, [ColumnWorksheetPosition] integer NOT NULL, [LinearModelID] integer NOT NULL, [PredictorType] smallint NOT NULL, [CategoricalLevelsID] integer NULL, [WasFit] boolean NOT NULL, [PredictorID] integer NOT NULL, CONSTRAINT [FK_CategoricalLevels_BlobStorage] FOREIGN KEY([CategoricalLevelsID]) REFERENCES [BlobStorage]([ID]), CONSTRAINT [FK_Predictor_WorksheetColumn] FOREIGN KEY([ColumnWorksheetPosition]) REFERENCES [WorksheetColumn]([WorksheetPosition]), CONSTRAINT [FK_Predictor_LinearModel] FOREIGN KEY([LinearModelID]) REFERENCES [LinearModel]([ID]), CONSTRAINT [CK_PredictorType] CHECK ([PredictorType] >= 0 and [PredictorType] <= 2) ) ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ################################################################################ ##########