TAILIEUCHUNG - Computational Statistics Handbook with MATLAB phần 4

Để xác minh rằng chúng ta đang tạo ra các biến ngẫu nhiên phải, chúng ta có thể nhìn vào các tần số tương đối quan sát. Mỗi cần phải có tần số tương đối của này được hiển thị dưới đây, nơi và kích thước mẫu là Đây là biểu đồ cho các biến ngẫu nhiên được tạo ra từ | FIGURE This shows the parallel coordinate representation for the 4-D point 1 3 7 2 . plot c 0 3 c 0 3 ax axis axis ax 1 ax 2 -1 4 set gca ytick 0 hold off If we plot observations in parallel coordinates with colors designating what class they belong to then the parallel coordinate display can be used to determine whether or not the variables will enable us to separate the classes. This is similar to the Andrews curves in Example where we used the Andrews curves to view the separation between two species of iris. The parallel coordinate plot provides graphical representations of multi-dimensional relationships Wegman 1990 . The next example shows how parallel coordinates can display the correlation between two variables. Example We first generate a set of 20 bivariate normal random variables with correlation given by 1. We plot the data using the function called csparallel to show how to recognize various types of correlation in parallel coordinate plots. Get a covariance matrix with correlation 1. covmat 1 1 1 1 2002 by Chapman Hall CRC Generate the bivariate normal random variables. Note you could use csmvrnd to get these. u s v svd covmat vsqrt v u . sqrt s subdata randn 20 2 data subdata vsqrt Close any open figure windows. close all Create parallel plot using CS Toolbox function. csparallel data title Correlation of 1 This is shown in Figure . The direct linear relationship between the first variable and the second variable is readily apparent. We can generate data that are correlated differently by changing the covariance matrix. For example to obtain a random sample for data with a correlation of we can use covmat 4 9 In Figure we show the parallel coordinates plot for data that have a correlation coefficient of -1. Note the different structure that is visible in the parallel coordinates plot. In the previous example we showed how parallel coordinates can indicate the relationship between variables. To provide further .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.