PCA和 LDA 的minitab使用,急需,谢谢

2026年09月26日 11:08
有1个网友回答
网友(1):

找到了一个完整的,不过是英文的,可以联系我,一起解读.

Q: 303871627

https://files.nyu.edu/dh3/public/ClusterAnalysis-PCA-T-testingInMinitab.html

Cluster Analysis, Principal
Components Analysis (PCA), and T-testing in Minitab

© David L. Hoover,
2009, 2010, 2011, 2012, 2015

The
Excel

Text-Analysis Pages
Note:

All of these instructions assume that you have, or can
create, a set of parallel word lists for a group of texts.
That is, that there is a single master list of words, and that each
text has an entry for each word, whether or not the word is found in
that text. One simple method for creating these word lists is to use
the Delta Spreadsheet or the Parallel Wordlist Spreadsheet
(available, with detailed instructions on my Excel Text-Analysis Pages.) The spreadsheet also lets you
delete personal pronouns, and/or remove words found in the word
list only because they are extremely frequent in one text (see the
instructions, and below, for more discussion). A more elegant and much faster method
is to use Hugh Craig’s Intelligent Archive (available here
with instructions). Once you have created your word lists, you
should have data that looks like that below (taken from the
"WordlistsPercentagesForAnalysis" sheet of DeltaCalc2008.xls).

1. Data Preparation: before you move the data into
Minitab for analysis, you need to prepare it a bit.

If you are using Excel 2007 or later,
you can prepare the data in Excel. To use the words
in your analysis as column labels, first replace any apostrophes
with another character; Minitab will not allow apostrophes in
labels. Click the grey cell above row 1 (with just "A" in it) to
select the entire column1, then use Ctrl-F (or Find & Select
then Replace, from the Home menu) to find all apostrophes and
replace them (I use "^"). Now select the data; in the
sample above, click cell A1, then scroll down to row 1003, press
and hold the Shift key and click cell K1003. Next, copy the data
with Ctrl-C, then click on cell L1, select Paste from the Home
menu, then Past Special. When the Paste Special dialogue box comes
up, select Transpose (just above the OK button) and then click OK.
Your data will now be transposed so that the authors and titles
are on the left and the words are along the top. (You can
transpose more than 1000 words, but Minitab can only analyze about
1000 at a time in cluster or PCA; t-testing often involves larger
numbers of words.) Once your data is transposed, select your data
again; here, click L1, then press and hold Shift and click ALZ11
and use Ctrl-C to copy the data. Go to Minitab and paste the data
into a blank worksheet by clicking the unmarked grey cell below C1
an above row 1 and pasting the data with Ctrl-V. (If you need to
create a blank worksheet in Minitab, go to the File menu, select
New, then Minitab Worksheet.) Your data should now look like that
below.

2. Cluster Analysis
To do a cluster analysis of the
data above in Minitab, select the Stat menu, then Multivariate,
then Cluster Observations. In the Cluster Observations window that
will pop up, first select the words you want to analyze, either by
selecting them