Skip to content

Instantly share code, notes, and snippets.

@behrica
Created October 14, 2014 18:33
Show Gist options
  • Save behrica/d0f7d9c9e5293f0857a9 to your computer and use it in GitHub Desktop.
Save behrica/d0f7d9c9e5293f0857a9 to your computer and use it in GitHub Desktop.
json output from "jsonf"
{
"coefficients": [
37.2851,
-5.3445
],
"residuals": [
-2.2826,
-0.9198,
-2.086,
1.2973,
-0.2001,
-0.6933,
-3.9054,
4.1637,
2.35,
0.2999,
-1.1001,
0.8669,
-0.0502,
-1.883,
1.1733,
2.1033,
5.9811,
6.8727,
1.7462,
6.422,
-2.611,
-2.9726,
-3.7269,
-3.4624,
2.4644,
0.3564,
0.152,
1.2011,
-4.5432,
-2.7809,
-3.2054,
-1.0275
],
"effects": [
-113.6497,
-29.1157,
-1.6613,
1.6314,
0.1111,
-0.384,
-3.6072,
4.5003,
2.6906,
0.6111,
-0.7889,
1.1144,
0.2317,
-1.6062,
1.3015,
2.2138,
6.0996,
7.3095,
2.2422,
6.8957,
-2.2011,
-2.6694,
-3.4151,
-3.1916,
2.7347,
0.82,
0.5949,
1.7073,
-4.2046,
-2.4019,
-2.9072,
-0.6494
],
"rank": [
2
],
"fitted.values": [
23.2826,
21.9198,
24.886,
20.1027,
18.9001,
18.7933,
18.2054,
20.2363,
20.45,
18.9001,
18.9001,
15.5331,
17.3502,
17.083,
9.2267,
8.2967,
8.7189,
25.5273,
28.6538,
27.478,
24.111,
18.4726,
18.9269,
16.7624,
16.7356,
26.9436,
25.848,
29.1989,
20.3432,
22.4809,
18.2054,
22.4275
],
"assign": [
0,
1
],
"qr": {
"qr": [
[
-5.6569,
-18.1995
],
[
0.1768,
5.4478
],
[
0.1768,
0.1482
],
[
0.1768,
-0.0161
],
[
0.1768,
-0.0574
],
[
0.1768,
-0.061
],
[
0.1768,
-0.0812
],
[
0.1768,
-0.0115
],
[
0.1768,
-0.0041
],
[
0.1768,
-0.0574
],
[
0.1768,
-0.0574
],
[
0.1768,
-0.173
],
[
0.1768,
-0.1106
],
[
0.1768,
-0.1198
],
[
0.1768,
-0.3896
],
[
0.1768,
-0.4215
],
[
0.1768,
-0.407
],
[
0.1768,
0.1703
],
[
0.1768,
0.2776
],
[
0.1768,
0.2373
],
[
0.1768,
0.1216
],
[
0.1768,
-0.072
],
[
0.1768,
-0.0564
],
[
0.1768,
-0.1308
],
[
0.1768,
-0.1317
],
[
0.1768,
0.2189
],
[
0.1768,
0.1813
],
[
0.1768,
0.2964
],
[
0.1768,
-0.0078
],
[
0.1768,
0.0656
],
[
0.1768,
-0.0812
],
[
0.1768,
0.0638
]
],
"qraux": [
1.1768,
1.0464
],
"pivot": [
1,
2
],
"tol": [
0
],
"rank": [
2
]
},
"df.residual": [
30
],
"xlevels": {
},
"call": {
},
"terms": {
},
"model": [
{
"mpg": 21,
"wt": 2.62,
"_row": "Mazda RX4"
},
{
"mpg": 21,
"wt": 2.875,
"_row": "Mazda RX4 Wag"
},
{
"mpg": 22.8,
"wt": 2.32,
"_row": "Datsun 710"
},
{
"mpg": 21.4,
"wt": 3.215,
"_row": "Hornet 4 Drive"
},
{
"mpg": 18.7,
"wt": 3.44,
"_row": "Hornet Sportabout"
},
{
"mpg": 18.1,
"wt": 3.46,
"_row": "Valiant"
},
{
"mpg": 14.3,
"wt": 3.57,
"_row": "Duster 360"
},
{
"mpg": 24.4,
"wt": 3.19,
"_row": "Merc 240D"
},
{
"mpg": 22.8,
"wt": 3.15,
"_row": "Merc 230"
},
{
"mpg": 19.2,
"wt": 3.44,
"_row": "Merc 280"
},
{
"mpg": 17.8,
"wt": 3.44,
"_row": "Merc 280C"
},
{
"mpg": 16.4,
"wt": 4.07,
"_row": "Merc 450SE"
},
{
"mpg": 17.3,
"wt": 3.73,
"_row": "Merc 450SL"
},
{
"mpg": 15.2,
"wt": 3.78,
"_row": "Merc 450SLC"
},
{
"mpg": 10.4,
"wt": 5.25,
"_row": "Cadillac Fleetwood"
},
{
"mpg": 10.4,
"wt": 5.424,
"_row": "Lincoln Continental"
},
{
"mpg": 14.7,
"wt": 5.345,
"_row": "Chrysler Imperial"
},
{
"mpg": 32.4,
"wt": 2.2,
"_row": "Fiat 128"
},
{
"mpg": 30.4,
"wt": 1.615,
"_row": "Honda Civic"
},
{
"mpg": 33.9,
"wt": 1.835,
"_row": "Toyota Corolla"
},
{
"mpg": 21.5,
"wt": 2.465,
"_row": "Toyota Corona"
},
{
"mpg": 15.5,
"wt": 3.52,
"_row": "Dodge Challenger"
},
{
"mpg": 15.2,
"wt": 3.435,
"_row": "AMC Javelin"
},
{
"mpg": 13.3,
"wt": 3.84,
"_row": "Camaro Z28"
},
{
"mpg": 19.2,
"wt": 3.845,
"_row": "Pontiac Firebird"
},
{
"mpg": 27.3,
"wt": 1.935,
"_row": "Fiat X1-9"
},
{
"mpg": 26,
"wt": 2.14,
"_row": "Porsche 914-2"
},
{
"mpg": 30.4,
"wt": 1.513,
"_row": "Lotus Europa"
},
{
"mpg": 15.8,
"wt": 3.17,
"_row": "Ford Pantera L"
},
{
"mpg": 19.7,
"wt": 2.77,
"_row": "Ferrari Dino"
},
{
"mpg": 15,
"wt": 3.57,
"_row": "Maserati Bora"
},
{
"mpg": 21.4,
"wt": 2.78,
"_row": "Volvo 142E"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment