Download ebooks file (Ebook) Machine Learning for Knowledge Discovery with R: Methodologies for Modeling, Inference and Prediction by Kao-Tai Tsai ISBN 9781032065366, 1032065362 all chapters
Download ebooks file (Ebook) Machine Learning for Knowledge Discovery with R: Methodologies for Modeling, Inference and Prediction by Kao-Tai Tsai ISBN 9781032065366, 1032065362 all chapters
com
OR CLICK HERE
DOWLOAD EBOOK
ebooknice.com
ebooknice.com
(Ebook) Prediction and Analysis for Knowledge
Representation and Machine Learning by Avadhesh Kumar
(editor), Shrddha Sagar (editor), T Ganesh Kumar (editor),
K Sampath Kumar (editor) ISBN 9780367649104, 0367649101
https://ebooknice.com/product/prediction-and-analysis-for-knowledge-
representation-and-machine-learning-38303144
ebooknice.com
ebooknice.com
Kao-Tai Tsai
Frontier Informatics Services
Bristol Myers Squibb
Adjunct Professor, Jiann-Ping Hsu College of
Public Health, Georgia Southern University
First edition published 2022
by CRC Press
6000 Broken Sound Parkway NW, Suite 300, Boca Raton, FL 33487-2742
The right of Kao-Tai Tsai to be identified as author of this work has been asserted by him in accor-
dance with sections 77 and 78 of the Copyright, Designs and Patents Act 1988.
Reasonable efforts have been made to publish reliable data and information, but the author and pub-
lisher cannot assume responsibility for the validity of all materials or the consequences of their use.
The authors and publishers have attempted to trace the copyright holders of all material reproduced
in this publication and apologize to copyright holders if permission to publish in this form has not
been obtained. If any copyright material has not been acknowledged please write and let us know so
we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced,
transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or
hereafter invented, including photocopying, microfilming, and recording, or in any information
storage or retrieval system, without written permission from the publishers.
For permission to photocopy or use material electronically from this work, access www.copyright.
com or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA
01923, 978-750-8400. For works that are not available on CCC please contact mpkbookspermis-
[email protected]
Trademark notice: Product or corporate names may be trademarks or registered trademarks and are
used only for identification and explanation without intent to infringe.
Typeset in CMR10
by KnowledgeWorks Global Ltd.
DOI: 10.1201/9781003205685
Dedicated this book to:
My Parents
My Family
My Teachers
and My Brothers
Contents
Preface xiii
1 Data Analysis 1
1.1 Perspectives of Data Analysis . . . . . . . . . . . . . . . . . 1
1.2 Strategies and Stages of Data Analysis . . . . . . . . . . . . 3
1.3 Data Quality . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3.1 Heterogeneity in Data Sources . . . . . . . . . . . . . 5
1.3.1.1 Heterogeneity in Study Subject Populations 5
1.3.1.2 Heterogeneity in Data due to Timing of Gen-
erations . . . . . . . . . . . . . . . . . . . . . 5
1.3.2 Noise Accumulation . . . . . . . . . . . . . . . . . . . 6
1.3.3 Spurious Correlation . . . . . . . . . . . . . . . . . . . 6
1.3.4 Missing Data . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Data Sets Analyzed in This Book . . . . . . . . . . . . . . . 7
1.4.1 NCI-60 . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4.2 Riboflavin Production with Bacillus Subtilis . . . . . . 7
1.4.3 TCGA . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4.4 The Boston Housing Data Set . . . . . . . . . . . . . . 8
vii
viii Contents
3 Regressions 29
3.1 Ridge Regression . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.2 Lasso . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.2.1 Example: Lasso on Continuous Data . . . . . . . . . . 31
3.2.2 Example: Lasso on Binary Data . . . . . . . . . . . . 32
3.2.3 Example: Lasso on Survival Data . . . . . . . . . . . . 33
3.3 Group Lasso . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.3.1 Example: Group Lasso on Gene Signatures . . . . . . 35
3.4 Sparse Group Lasso . . . . . . . . . . . . . . . . . . . . . . . 37
3.4.1 Example: Lasso, Group Lasso, Sparse Group Lasso on
Simulated Continuous Data . . . . . . . . . . . . . . . 38
3.4.2 Example: Lasso, Group Lasso, Sparse Group Lasso on
Gene Signatures Continuous Data . . . . . . . . . . . 41
3.5 Adaptive Lasso . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.5.1 Example: Adaptive Lasso on Continuous Data . . . . 46
3.5.2 Example: Adaptive Lasso on Binary Data . . . . . . . 47
3.6 Elastic Net . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.6.1 Example: Elastic Net on Continuous Data . . . . . . . 51
3.6.2 Example: Elastic Net on Binary Data . . . . . . . . . 52
3.7 The Sure Screening Method . . . . . . . . . . . . . . . . . . 53
3.7.1 The Sure Screening Method . . . . . . . . . . . . . . . 54
3.7.2 Sure Independence Screening on Model Selection . . . 55
3.7.3 Example: SIS on Continuous Data . . . . . . . . . . . 56
3.7.4 Example: SIS on Survival Data . . . . . . . . . . . . . 56
3.8 Identify Minimal Class of Models . . . . . . . . . . . . . . . 57
3.8.1 Analysis Using Minimal Models . . . . . . . . . . . . . 58
9 Business 197
9.1 Case Study One: Marketing Campaigns of a Portuguese Bank-
ing Institution . . . . . . . . . . . . . . . . . . . . . . . . . . 197
9.1.1 Description of Data . . . . . . . . . . . . . . . . . . . 197
9.1.2 Data Analysis . . . . . . . . . . . . . . . . . . . . . . . 198
9.1.2.1 Analysis via Lasso . . . . . . . . . . . . . . . 198
9.1.2.2 Analysis via Elastic Net . . . . . . . . . . . . 198
xii Contents
Bibliography 235
Index 243
Preface
Data analysis has a long history. Actually, the Kingdom of Sumer (Babylonia
c. 4500-1900 BC) is a famous example of where initial records of written data
analysis have been found. Through human history, data analysis had become
the foundation for scientific discoveries, advances of medicine, and government
policies.
Due to the advances of sciences, business, and computing technologies,
etc., data of medium to huge sizes have become ubiquitous. In addition, with
the emphasis of “everything evidence-based,” how to extract valid, useful,
and actionable information is more critical than ever and heavily depends on
well-done data analysis. In a broader scope of data analysis, analyst needs
to consider the relevance of population the data was from and whether it
fits the objectives of the analysis (ref. Mallows). In the ICSA presentation
(2010), I also emphasized the importance of experimental design, rigorous
data collection plan to ensure the data quality, the plan to implement the
analytical findings, and potential revision of the original questions. This cycle
can often repeat itself a few times.
Data analysis should not be just a pure mechanical exercise following math-
ematical models or canned programs, instead, data analysis very often involves
tedious and careful effort to examine the nature of data, including its distribu-
tion, homogeneity, correlation, outliers, and other complex internal structure,
etc. before any effort of estimation or modeling, especially in large data sets
(ref. Chapter 1).
Analysis of large real-world data sets is often very complex and requires a
team with multi-discipline. Therefore, data analysts must look to a heavy em-
phasis on judgment about the subject-matter experience of the field the data
being considered, and the broad experience of the analytical techniques have
worked out in a variety fields of application and its properties (ref. Tukey).
In addition, rather than spend great effort to pursue the “optimal/best” solu-
tions, the time can be better used in real research (ref. Kimball). As professor
Box once said, “all models are wrong, but some are useful.” Similarly echoed
by Tukey, “Far better an approximate answer to the right question, which is
often vague, than an exact answer to the wrong question, which can always
be made precise.”
The contents of the book very much reflect the principles described above.
I emphasize the importance of understanding the data before any attempt of
analysis, which I learned from Mallows (Chapters 1 and 2). Since regression
forms the foundation of many modeling, I include it herein (Chapter 3) with
xiii
xiv Preface
a lot more varieties which can’t ever be inclusive. Even though parsimonious
model derived from shrinkage is important and convenient, one needs to be
careful about its purpose. For example, in genomics, gene-groups with collab-
orated functions often are highly correlated, to select only one or two of them
can mask their importance.
Recursive partition of data (Chapter 4) has becoming ever more important
in the presence of large data with heterogeneity of subject sub-populations
therein. It is rarely that one can have one overall model/estimate to describe
the data well, however, due to the large sample size, any hypothesis test would
become significant even though the effect could be minuscule. Many analysts
use this method to identify important variables and sub-populations, however,
it is important to “confirm/validate” the findings with other methods for
similar purposes (ref. Tukey).
Chapter 5 is about Support Vector Machine which I also had learned when
I was at AT&T Bell Labs, however, it was not easy to use it for real large
data in those days due to the limitation of computing power. It deals with
data from a different angle by trying to identify the important support vectors
instead of variables. With the current capabilities of computing and feature se-
lection as well as the incorporation of kernels, it has become quite flexible and
provide another approach to discriminate or sub-setting the data population.
Graphical presentation of the results is still quite challenging.
Cluster analysis (Chapter 6) has been commonly used in genomics research
even though it is not as commonly used to analyze clinical trial data. Bioin-
formaticians had extended this into more clustering varieties, however, the
final clusters still very much depend on the metrics and linkage methods. It is
prudent to conduct analysis using various linkage methods and discuss with
the subject-matter experts for the proper selection and interpretation.
Neural network analysis (Chapter 7) is quite useful or controversial de-
pending on the problems and the environments where the results are intended
to be used. It can construct a network for high degree of prediction, but it
can also be very difficult to interpretate except for the simple networks. It
goes against the principle of parsimonious model and, therefore, how to use
the model for a new data set can be quite challenging.
As many are aware that most of the data analysis, especially in regressions,
the relationship between outcomes and covariates are mostly for association,
and rarely can be interpreted as a causal-effect relationship. This is especially
challenging for the observational studies. Professors Rubin and colleagues of
Statistics, and Pearl and colleagues of Computer Science had proposed var-
ious approaches to address this topic. Chapter 8 is devoted for this topic
by describing various methods including matching proposed by researchers.
This has become one of the important tools in data analysis when the control
group of the experiment is unobtainable due to either ethic or other reasons.
Therefore, how to construct a proper well-matched control group and proper
estimation of treatment effect remains as an active area of research.
Preface xv
Kao-Tai Tsai
Berkeley Heights, New Jersey, USA
March 2021
1
Statistical Data Analysis
Statistical data analysis has a long history and, over the years, many great
statisticians had discussed how it should be properly conducted. The topic
has become more important nowadays due to the overwhelming speed of data
generation, and how to properly extract meaningful and correct information
from massive data has become ever more complicated. In the following, I
briefly described the discussions from Fisher, Tukey, Huber, and Mallows of
their views of this topic. It is obvious that it is impossible to be exclusive,
however, these discussions will at least give us some important perspectives
DOI: 10.1201/9781003205685-1 1
2 Statistical Data Analysis
mathematical statistics evolve, I have had cause to wonder and to doubt. And
when I have pondered about why such techniques as the spectrum analysis of
time series have proved so useful, it has become clear that their “dealing with
fluctuations” aspects are, in many circumstances, of lesser importance than
the aspects that would already have been required to deal effectively with the
simpler case of very extensive data, where fluctuations would no longer be
a problem. All in all, I have come to feel that my central interest is in data
analysis, which I take to include, among other things: procedures for analyz-
ing data, techniques for interpreting the results of such procedures, ways of
planning the gathering of data to make its analysis easier, more precise or
more accurate, and all the machinery and results of (mathematical) statistics
which apply to analyzing data.”
Tukey further stated, “Large parts of data analysis are inferential in the
sample-to-population sense, . . . Large parts of data analysis are incisive, laying
bare indications which we could not perceive by simple and direct examination
of the raw data, . . . Some parts of data analysis, . . . , are allocation, in the
sense that they guide us in the distribution of effort and other valuable consid-
erations in observation, experimentation, or analysis. Data analysis is a larger
and more varied field than inference, or incisive procedures, or allocation.”
He further stated that data analysis must look to a very heavy emphasis on
judgment. He considered at least three different sorts or sources of judgment
that are likely to be involved in almost every instance: (1) judgment based
upon the experience of the particular field of subject matter from which the
data come, (2) judgment based upon a broad experience with how particular
techniques of data analysis have worked out in a variety of fields of applica-
tion, and (3) judgment based upon abstract results about the properties of
particular techniques, whether obtained by mathematical proofs or empirical
sampling. And it is “Far better an approximate answer to the right question,
which is often vague, than an exact answer to the wrong question, which can
always be made precise.”
In his Fisher memorial lecture, Mallows [51], being a distinguished statisti-
cian at the AT&T Bell laboratories, who worked with scientists and engineers
from various disciplines, had emphasized that there are problems that precede
Fisher’s, namely deciding what the relevant population is, what the relevant
data are, and just how these relate to the purpose of the statistical study, in
addition to choosing what problem to study.
This kind of thinking has been a required practice in many scientific in-
dustries, such as in epidemiology, clinical trials for drug discovery, etc. One
often analyzes the observational data, which could be heavily confounded by
unobserved factors. Then further validates the findings by conducting trials
with rigorous experimental designs, which clearly specify the population of
interest and the objectives of study, as well as the specifications of procedures
for trial conducts.
Mallows hence integrated the thinking from Fisher and Tukey and sum-
marized the steps of data analysis into five problems by defining the Zeroth
Strategies and Stages of Data Analysis 3
Problem: “Considering the relevance of the observed data, and other data that
might be observed, to the substantive problem” before Fisher’s specification
of models and the Fourth Problem regarding the presentation of conclusions
from data analysis. He also stated that “statistical thinking concerns the re-
lation of quantitative data to a real-world problem, often in the presence of
variability and uncertainty. It attempts to make precise and explicit what the
data have to say about the problem of interest.”
the findings. As professor George Box once said that no model is correct, but
some are useful; therefore, flexibility in data modeling is always recommended.
To present the final results, the well thought through graphs and tables is
definitely preferred to lines and lines of text. Be careful not to overly crowd the
contents of the graphs and tables to the point the messages are lost, and the
readers are confused. The steps described above can be tactically summarized
as in Figure 1.1.
FIGURE 1.1
Data analysis strategies.
• The totality of features and characteristics of data that bear on its ability
to satisfy a given purpose: the sum of the degrees of excellence for factors
related to data.
• The processes and technologies involved in ensuring the conformance of data
values to business requirements and acceptance criteria.
In essence, data quality is the degree to which it is complete, valid, accu-
rate, consistent, and timely. In statistics, it adds several other complications,
especially in big data.
Big data promises new levels of scientific discovery and economic value.
The general expectation of big sample size is that it may give better oppor-
tunities to explore the hidden structures of each subpopulation of the data,
which is traditionally not as easy when the sample size is small, and to iden-
tify important common or uncommon features across many sub populations.
However, these expectations are yet to be realized in some greater degrees,
primarily due to the data quality and capacity of the analysts. In the follow-
ing, we describe some common challenges usually facing the analysts during
the course of data analysis.
in various aspects. Whether and how these kinds of data should be aggregated
for analysis of treatment effects is a challenging question.
1.4.3 TCGA
The Cancer Genome Atlas (TCGA), a landmark cancer genomics program,
https://www.cancer.gov/about-nci/organization/ccg/research/structural-ge-
nomics/tcga, molecularly characterized over 20,000 primary cancer and
matched normal samples spanning 33 cancer types. This joint effort between
the National Cancer Institute and the National Human Genome Research In-
stitute began in 2006, bringing together researchers from diverse disciplines
8 Statistical Data Analysis
and multiple institutions. Over the next dozen years, TCGA generated over
2.5 petabytes of genomic, epigenomic, transcriptomic, and proteomic data.
The data, which have already lead to improvements in our ability to diag-
nose, treat, and prevent cancer, will remain publicly available for anyone in
the research community to use.
As professor Tukey once said that every data set is unique and one should
understand the characteristics of the data before attempting to produce sum-
maries or conduct statistical modeling, and the best ways to do that are via
graphical methods. Professor Huber echoed this philosophy and indicated that
graphical methods for exploratory data analysis are among the natural evo-
lution of statistical data analysis (see “The evolving spiral path of statistics”
in Huber (1997) [38])
In this chapter, we describe some basic tools to examine the data distri-
butions for various dimensions. It is obvious that the following descriptions
cannot be exhaustive and there are many other useful tools for special pur-
poses that do exist in various monographs and literature. Nevertheless, this
is a starting point and the graphs can all be easily produced using the many
packages in R.
DOI: 10.1201/9781003205685-2 9
10 Examining Data Distribution
FIGURE 2.1
Box plot with variable width, notch, and w/o outliers identity.
Even though P-P plot is less commonly used by the practitioners; however,
12 Examining Data Distribution
FIGURE 2.2
Q-Q plot of glucose levels for patients w/o diabetes.
the P-P plot can avoid some inferential difficulties posed by the Q-Q plot. More
details can be found in Holmgren [17]. The following codes create (Figure 2.2).
library(MASS)
Pim<-Pima.tr2
x<-Pim[Pim$type=="Yes", 2]
y<-Pim[Pim$type=="No", 2]
qqplot(x,y, xlab="", ylab="")
abline(0,1, col="red")
title(xlab="Glucose levels of Patients with Diabetes",
ylab="Glucose levels of Patients without Diabetes")
library(MASS)
library(car)
data(mtcars)
dataEllipse(mtcars[,3], mtcars[,4], levels=c(0.5, 0.95), center.pch=19,
center.cex=1.5, xlab="Displacement", ylab="Horse Power")
One can also fit the variable mpg by the variables disp, cyl, and the
covariance matrix of the estimated parameters for these variables can also
Two Dimension 15
FIGURE 2.5
Least squares (left) and robust (right) estimates of data ellipse of cars data.
be graphed as shown in Figure 2.6. Similarly, one can easily see the nega-
tive correlation and the relative magnitude of the variance between these two
variables. The graph is produced by the following codes.
When the dependent variable is discrete, one can perform similar analytical
steps to get the data ellipse and the ellipse for the estimated parameters
via generalized linear modeling. We use the Pima Indian Diabetes data to
illustrate the procedures. The following sample codes produce the data ellipse
as shown in Figures 2.7.
library(MASS)
Pim<-Pima.tr2
16 Examining Data Distribution
FIGURE 2.6
Covariance ellipse of the estimated parameters of cars data.
FIGURE 2.7
Least squares (left) and robust (right) estimates of data ellipse of Pima Indian
diabetes data.
If the observations are from a p-variate normal distribution, ri2 should follow
a χ2 distribution with p-degrees of freedom. For example, one can use the
following codes to test multivariate normality and the graphical exhibition as
shown in Figure 2.8.
library(MASS)
FIGURE 2.8
Bivariate and trivariate normality test.
radii<-diag((mvdata-mvmean)%*%solve(zvar)%*%t(mvdata-mvmean))
qchi<-qchisq(c(1:length(radii))/(length(radii)+0.05), nrow(Sigma),
ncp=0, lower.tail = TRUE, log.p = FALSE)
plot(qchi, sort(radii), xlab="", ylab="")
abline(0,1)
title(xlab="Quantiles of Chi-square dist with 2 df",
ylab="Squared Radii")
FIGURE 2.9
Pairwise scatter plot matrix.
library(car)
scatterplotMatrix(iris[1:4], diagonal="density", ellipse=TRUE,
transform=TRUE, smooth=TRUE, reg.line=FALSE, data=iris,
main="Pairwise Plot of Iris Data")
FIGURE 2.10
Pairwise scatter plot matrix.
Specifically, let
The n functions {f1 (t), f2 t, · · · , fn (t)} can then be plotted versus t, namely,
The following codes produce Andrew’s plot at two different angels as shown
in Figure 2.12:
22 Examining Data Distribution
FIGURE 2.11
Pairwise scatter plot matrix.
library(andrews)
library(MASS)
iris2<-iris[c(1:10, 101:110),]
numstep<-100
steps<-2*pi/numstep
proj<-matrix(rep(0, numstep*nrow(iris2)), nrow(iris2), numstep)
for(j in 1:numstep){
i<-j-1
stepi<- -pi+i*steps
fa<-c(1/sqrt(2), sin(stepi), cos(stepi), sin(2*(stepi)),
cos(2*(stepi)), sin(3*(stepi)), cos(3*(stepi)))
for(kk in 1:nrow(iris2)){
proj[kk,j]<- iris2[kk, 1]*fa[1] + iris2[kk, 2]*fa[2]
+ iris2[kk, 3]*fa[3] + iris2[kk, 4]*fa[4]
}}
plot(1:numstep, proj[1,], type="n", ylim=c(min(proj)-1, max(proj)+1),
xlab="", ylab="")
title(xlab=expression(paste("Range:(", -pi, ", ", pi, ")")),
ylab="Values of Projections")
for(i in 1:10){
lines(1:numstep, proj[i,])
}
for(i in 11:nrow(proj)){
lines(1:numstep, proj[i,], col="red")
}
More Than Two Dimension 23
FIGURE 2.12
Andrew’s plot of two different projects.
FIGURE 2.13
Conditional plots.
limited number of subsets. One limitation of the scatter plot matrix is that it
cannot show interaction effects with another variable. This is the strength of
the conditioning plot. It is also useful for displaying scatter plots for groups
in the data. Although these groups can also be plotted on a single plot with
different plot symbols, it can often be visually easier to distinguish the groups
using the conditional plot.
Although the basic concept of the conditioning plot matrix is simple, there
are numerous alternatives in the details of the plots. It can be helpful to overlay
some type of fitted curve on the scatter plot. Although a linear or quadratic fit
can be used, the most common alternative is to overlay a lowess curve. Given
the variables X, Y , and Z, the condition plot is formed by dividing the values
of Z into k groups. There are several ways that these groups may be formed.
There may be a natural grouping of the data, the data may be divided into
several equal sized groups, the grouping may be determined by clusters in the
data, and so on. The page will be divided into n rows and c columns, where
n × c ≥ k. Each row and column defines a single scatter plot. For example,
the following codes create the plot (Figure 2.13) of Tonga trench earthquakes
conditioning on depth of the ocean.
## Conditioning on 1 variable - ocean depth:
coplot(lat ~ long | depth, data = quakes)
given.depth <- co.intervals(quakes$depth, number=4, overlap=.1)
coplot(lat ~ long | depth, data = quakes, given.v=given.depth, rows=1)
One can also create the conditional plot by conditioning on more than
Visualization of Categorical Data 25
one variable. The following codes produce a conditioning plot (Figure 2.14) of
wool strength by conditioning on types of wool and tension strength:
FIGURE 2.14
Example of conditional plot.
library(MASS)
library(vcd)
data("HairEyeColor")
mosaic(HairEyeColor, shade = TRUE)
FIGURE 2.15
Mosaic plot of of hair x eye x sex.
Visualization of Categorical Data 27
library(MASS)
library(vcd)
data("HairEyeColor")
(x <- margin.table(HairEyeColor, c(1, 2)))
assoc(x, main = "Relation between hair and eye color", shade = TRUE)
FIGURE 2.16
Two different ways to visualize multi-way table of cross-classification.
Discovering Diverse Content Through
Random Scribd Documents
having died on the day he left her, and as having been repeatedly
buried in the various dull country houses by whose proprietors he
was hospitably received. He thus proceeds:—
‘But whilst my body, madam, was thus disposed of, my spirit (as
when alive) was still hovering, though invisible, round your Majesty,
anxious for your welfare, and watching to do you any little service
that lay within my power.
‘On Monday, whilst you walked, my shade still turned on the side
of the sun to guard you from its beams.
‘On Tuesday morning, at breakfast, I brushed away a fly that
had escaped Teed’s observation’ (Teed was one of the Queen’s
attendants) ‘and was just going to be the taster of your chocolate.
‘On Wednesday, in the afternoon, I took off the chillness of some
strawberry-water your Majesty was going to drink as you came in
hot from walking; and at night I hunted a bat out of your
bedchamber, and shut a sash just as you fell asleep, which your
Majesty had a little indiscreetly ordered Mrs. Purcel to leave open.
‘On Thursday, in the drawing-room, I took the forms and voices
of several of my acquaintances, made strange faces, put myself into
awkward postures, and talked a good deal of nonsense, whilst your
Majesty entertained me very gravely, recommended me very
graciously, and laughed at me internally very heartily.
‘On Friday, being post-day, I proposed to get the best pen in the
other world for your Majesty’s use, and slip it invisibly into your
standish just as Mr. Shaw was bringing it into your gallery for you to
write; and accordingly I went to Voiture, and desired him to hand
me his pen; but when I told him for whom it was designed, he only
laughed at me for a blockhead, and asked me if I had been at court
for four years to so little purpose as not to know that your Majesty
had a much better of your own.
‘On Saturday I went on the shaft of your Majesty’s chaise to
Richmond; as you walked there I went before you, and with an
invisible wand I brushed the dew and the worms out of your path all
the way, and several times uncrumpled your Majesty’s stocking.
‘Sunday.—This very day, at chapel, I did your Majesty some
service, by tearing six leaves out of the parson’s sermon and
shortening his discourse six minutes.’
While these imaginary services were being rendered by the
visionary Lord Hervey to the Queen, realities more serious and not
less amusing were claiming the attention of Caroline and her
consort.
In return for the information communicated by the King to the
Queen on the subject of Madame Walmoden and her charms,
Caroline had to inform her husband of the marriage we have spoken
of between Lady Suffolk and Mr. George Berkeley. The royal ex-lover
noticed the communication in his reply in a coarse way, and
expressed his entire satisfaction at being rid of the lady, and at the
lady’s disposal of herself.
When Caroline informed her vice-chamberlain, Lord Hervey, of
the report of this marriage, his alleged disbelief of the report made
her peevish with him, and induced her to call him an ‘obstinate
devil,’ who would not believe merely improbable facts to be truths.
Caroline then railed at Lady Suffolk in good set terms as a sayer and
doer of silly things, entirely unworthy of the reputation she had with
some people of being the sayer and doer of wise ones.
It was on this occasion that Caroline herself described to Lord
Hervey the farewell interview she had had with Lady Suffolk. The ex-
mistress took a sentimental view of her position, and lamented to
the wife that she, the mistress, was no longer so kindly treated as
formerly by the husband. ‘I told her,’ said the Queen, ‘in reply, that
she and I were not of an age to think of these sort of things in such
a romantic way, and said, “My good Lady Suffolk, you are the best
servant in the world; and, as I should be most extremely sorry to
lose you, pray take a week to consider of this business, and give me
your word not to read any romances in that time, and then I dare
say you will lay aside all thoughts of doing what, believe me, you will
20
repent, and what I am very sure I shall be very sorry for.”’ It was
at one of these conversations with Lord Hervey that the Queen told
him that Lady Suffolk ‘had had 2,000l. a year constantly from the
King whilst he was prince, and 3,200l. ever since he was King;
besides several little dabs of money both before and since he came
to the crown.’
A letter of Lady Pomfret’s will serve to show us not only a picture
of the Queen at this time, but an illustration of feeling in a fine lady.
Lady Pomfret, writing to Lady Sundon, in 1735, says: ‘All I can
say of Kensington is, that it is just the same as it was, only pared as
close as the bishop does the sacrament. My Lord Pomfret and I were
the greatest strangers there; no secretary of state, no chamberlain
or vice-chamberlain, but Lord Robert, and he just in the same coat,
the same spot of ground, and the same words in his mouth that he
had when I left there. Mrs. Meadows in the window at work; but,
though half an hour after two, the Queen was not quite dressed, so
that I had the honour of seeing her before she came out of her little
blue room, where I was graciously received, and acquainted her
Majesty, to her great sorrow, how ill you had been; and then, to
alleviate that sorrow, I informed her how much Sundon was altered
for the better, and that it looked like a castle. From thence we
proceeded to a very short drawing-room, where the Queen joked
much with my Lord Pomfret about Barbadoes. The two ladies of the
bedchamber and the governess are yet on so bad a foot, that upon
the latter coming into the room to dine with Lady Bristol, the others
went away, though just going to sit down, and strangers in the
place.’
The writer of this letter soon after lost a son, the Honourable
Thomas Fermor. It was a severely felt loss; so severe that some
weeks elapsed before the disconsolate mother was able, as she
says, ‘to enjoy the kind and obliging concern’ expressed by the
Queen’s bedchamber-woman in her late misfortune. Christianity
itself, as this charming mother averred, would have authorised her in
lamenting such a calamity during the remainder of her life; but then,
oh joy! her maternal lamentation was put an end to and Rachel was
comforted, and all because—‘It was impossible for any behaviour to
be more gracious than that of the Queen on this occasion, who
made it quite fashionable to be concerned’ at the death of Lady
Pomfret’s son.
But there were more bustling scenes at Kensington than such as
those described by this fashionably sorrowing lady and the
sympathising sovereign.
On Sunday, the 26th of October, the Queen and her court had
just left the little chapel in the palace of Kensington, when intimation
was given to her Majesty that the King, who had left Hanover on the
previous Wednesday, was approaching the gate. Caroline, at the
head of her ladies and the gentlemen of her suite, hastened down to
receive him; and, as he alighted from his ponderous coach, she took
his hand and kissed it. This ceremony performed by the regent, a
very unceremonious, hearty, and honest kiss was impressed on his
lips by the wife. The King endured the latter without emotion, and
then, taking the Queen-regent by the fingers, he led her upstairs in
a very stately and formal manner. In the gallery there was a grand
presentation, at which his Majesty exhibited much ill-humour, and
conversed with everybody but the Queen.
His ill-humour arose from various sources. He had heated
himself by rapid and continual travelling, whereby he had brought on
an attack of a complaint to which he was subject, which made him
very ill at ease, and which is irritating enough to break down the
patience of the most patient of people.
On ordinary occasions of his return from Hanover his most
sacred Majesty was generally of as sour disposition as man so little
heroic could well be. He loved the Electorate better than he did his
kingdom, and would not allow that there was anything in the latter
which could not be found in Hanover of a superior quality. There was
no exception to this: men, women, artists, philosophers, actors,
citizens, the virtues, the sciences, and the wits, the country, its
natural beauties and productions, the courage of the men and the
attractions of the women—all of these in England seemed to him
worthless. In Hanover they assumed the guise of perfection.
This time he returned to his ‘old’ wife laden with a fresh sorrow
—the memory of a new favourite. He had left his heart with the
insinuating Walmoden, and he brought to his superb Caroline
nothing but a tribute of ill-humour and spite. He hated more than
ever the change from an Electorate where he was so delightfully
despotic, to a country where he was only chief magistrate, and
where the people, through their representatives, kept a very sharp
watch upon him in the execution of his duties. He was accordingly as
coarse and evil-disposed towards the circle of his court as he was to
her who was the centre of it. He, too, was like one of those
pantomime potentates who are for ever in King Cambyses’ vein, and
who sweep through the scene in a whirlwind of farcically furious
words and of violent acts, or of threats almost as bad as if the
menaces had been actually realised. It was observed that his
behaviour to Caroline had never been so little tinged with outward
respect as now. She bore his ill-humour with admirable patience;
and her quiet endurance only the more provoked the petulance of
the little and worthless King.
He was not only ill-tempered with the mistress of the palace, but
was made, or chose to think himself, especially angry at trifling
improvements which Caroline had carried into effect in the suburban
palace during the temporary absence of its master. The
improvements consisted chiefly in removing some worthless pictures
and indifferent statues and placing master-pieces in their stead. The
King would have all restored to the condition it was in when he had
last left the palace; and he treated Lord Hervey as a fool for
venturing to defend the Queen’s taste and the changes which had
followed the exercise of it. ‘I suppose,’ said the dignified King to the
courteous vice-chamberlain, ‘I suppose you assisted the Queen with
your fine advice when she was pulling my house to pieces, and
spoiling all my furniture. Thank God! at least she has left the walls
standing!’
Lord Hervey asked if he would not allow the two Vandykes which
the Queen had substituted for ‘two signposts,’ to remain. George
pettishly answered, that he didn’t care whether they were changed
or no; ‘but,’ he added, ‘for the picture with the dirty frame over the
door, and the three nasty little children, I will have them taken away,
and the old ones restored. I will have it done, too, to-morrow
morning, before I go to London, or else I know it will not be done at
all.’
Lord Hervey next enquired if his Majesty would also have ‘his
gigantic fat Venus restored too?’ The King replied that he would, for
he liked his fat Venus better than anything which had been put in its
place. Upon this Lord Hervey says he fell to thinking ‘that if his
Majesty had liked his fat Venus as well as he used to do, there would
have been none of these disputations.’
By a night’s calm repose the ill-humour of the Sovereign was not
dispersed. On the following morning we meet with the insufferable
little man in the gallery, where the Queen and her daughters were
taking chocolate; her son, the Duke of Cumberland, standing by. He
only stayed five minutes, but in that short time the husband and
father contrived to wound the feelings of his wife and children. ‘He
snubbed the Queen, who was drinking chocolate, for being always
stuffing; the Princess Amelia for not hearing him; the Princess
Caroline for being grown fat; the Duke of Cumberland for standing
awkwardly; and then he carried the Queen out to walk, to be re-
21
snubbed in the garden.’
Sir Robert Walpole told his friend Hervey that he had done his
utmost to prepare the Queen for this change in the King’s feelings
and actions towards her. He reminded her that her personal
attractions were not what they had been, and he counselled her to
depend more upon her intellectual superiority than ever. The
virtuous man advised her to secure the good temper of the King by
throwing certain ladies in his way of an evening. Sir Robert
mentioned, among others, Lady Tankerville, ‘a very safe fool, who
would give the King some amusement without giving her Majesty
any trouble.’ Lady Deloraine, the Delia from whose rage Pope bade
his readers dread slander and poison, had already attracted the royal
notice, and the King liked to play cards with her in his daughter’s
apartments. This lady, who had the loosest tongue of the least
modest women about the court, was characterised by Walpole as
likely to exercise a dangerous influence over the King. If Caroline
would retain her power, he insinuated, she must select her
husband’s favourites, through whom she might still reign supreme.
Caroline is said to have taken this advice in good part. There
would be difficulty in believing that it ever was given did we not
know that the Queen herself could joke, not very delicately, in full
court, on her position as a woman not first in her husband’s regard.
Sir Robert would comment on these jokes in the same locality, and
with increase of coarseness. The Queen, however, though she
affected to laugh, was both hurt and displeased—hurt by the joke
and displeased with the joker, of whom Swift has said, that—
But ‘Drury’ did not often offend in this guise, and even George
and Caroline might have gone to see ‘Junius Brutus,’ and have been
amused. The Queen, who well knew the corruption of the senate,
might have smiled as Mills, in Brutus, with gravity declared that the
senators—
and George might have silently assented to the reply of Cibber, Jun.,
in ‘Messala,’ that—
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebooknice.com