<?xml version="1.0" encoding="UTF-8" ?>

<PMML
	version="4.0"
	xmlns="http://www.dmg.org/PMML-4_0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.dmg.org/PMML-4_0 pmml-4-0.xsd">
	<Header
		copyright="Copyright (c) IBM Corp. 1999, 2011.">
		<Application
			name="IBM SPSS Statistics"
			version="21.0.0.0"/>
	</Header>
	<DataDictionary
		numberOfFields="4">
		<DataField
			name="age"
			displayName="Age in years"
			optype="continuous"
			dataType="double"/>
		<DataField
			name="income"
			displayName="Household income"
			optype="continuous"
			dataType="double"/>
		<DataField
			name="glucose"
			displayName="Glycated hemoglobin level"
			optype="continuous"
			dataType="double"/>
		<DataField
			name="cost"
			displayName="Treatment costs"
			optype="continuous"
			dataType="double"/>
	</DataDictionary>
	<GeneralRegressionModel
		modelType="generalizedLinear"
		modelName="GZLM"
		algorithmName="GZLM"
		functionName="regression"
		linkFunction="log"
		distribution="normal">
		<MiningSchema>
			<MiningField
				name="age"/>
			<MiningField
				name="income"/>
			<MiningField
				name="glucose"/>
			<MiningField
				name="cost"
				usageType="predicted"/>
		</MiningSchema>
		<ParameterList>
			<Parameter
				name="P0000001"
				label="Intercept"/>
			<Parameter
				name="P0000002"
				label="age"/>
			<Parameter
				name="P0000003"
				label="income"/>
			<Parameter
				name="P0000004"
				label="glucose"/>
		</ParameterList>
		<CovariateList>
			<Predictor
				name="age"/>
			<Predictor
				name="income"/>
			<Predictor
				name="glucose"/>
		</CovariateList>
		<PPMatrix>
			<PPCell
				value="1"
				predictorName="age"
				parameterName="P0000002"/>
			<PPCell
				value="1"
				predictorName="income"
				parameterName="P0000003"/>
			<PPCell
				value="1"
				predictorName="glucose"
				parameterName="P0000004"/>
		</PPMatrix>
		<PCovMatrix
			type="model">
			<PCovCell
				pRow="P0000001"
				pCol="P0000001"
				value="0.0376559379447231"/>
			<PCovCell
				pRow="P0000002"
				pCol="P0000001"
				value="-0.000203802899527503"/>
			<PCovCell
				pRow="P0000002"
				pCol="P0000002"
				value="6.53603067479392e-006"/>
			<PCovCell
				pRow="P0000003"
				pCol="P0000001"
				value="-1.03273016338738e-007"/>
			<PCovCell
				pRow="P0000003"
				pCol="P0000002"
				value="-8.34226499593324e-010"/>
			<PCovCell
				pRow="P0000003"
				pCol="P0000003"
				value="4.38351438978021e-012"/>
			<PCovCell
				pRow="P0000004"
				pCol="P0000001"
				value="-0.00237934134567661"/>
			<PCovCell
				pRow="P0000004"
				pCol="P0000002"
				value="-8.93914522876883e-006"/>
			<PCovCell
				pRow="P0000004"
				pCol="P0000003"
				value="-4.88793992454626e-009"/>
			<PCovCell
				pRow="P0000004"
				pCol="P0000004"
				value="0.000323292087701224"/>
		</PCovMatrix>
		<ParamMatrix>
			<PCell
				parameterName="P0000001"
				beta="6.09743161075828"
				df="1"/>
			<PCell
				parameterName="P0000002"
				beta="0.0207898463088766"
				df="1"/>
			<PCell
				parameterName="P0000003"
				beta="-1.13778193530211e-005"
				df="1"/>
			<PCell
				parameterName="P0000004"
				beta="0.334202953548899"
				df="1"/>
		</ParamMatrix>
	</GeneralRegressionModel>
</PMML>