亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? dic_demo.m

?? matlab中實現(xiàn)openbugs或winbugs的功能調(diào)用
?? M
字號:
% DIC demo
% Andrew Jackson 10 April  2006
% Social and Public Health Sciences Unit, Medical Research Council
% Glasgow G12 8RZ, UK.
% andrew@msoc.mrc.gla.ac.uk

% Uses the seeds example from the WinBUGS manual...
% The text from this example file is pasted below:
% This mfile runs 4 versions of this example:
% 1) with only seed type as an explanatory factor
% 2) with only root extract type as an explanatory factor
% 3) with both as factors but without an interation between them
% 4) with both as factors with an interation term
% Model fit is assessed through the DIC values. 
%
% TAKEN FROM WINBUGS MANUAL
% Spiegelhalter, D. J., Thomas, A., Best, N. G. & Lunn, D. 
%   WinBUGS Version 1.4.1 User Manual 
%   (Medical Research Council Biostatistics Unit, Cambridge, 2004).
% 
% % This example is taken from Table 3 of Crowder (1978), and concerns the 
% proportion of seeds that germinated on each of 21 plates arranged 
% according to a 2 by 2 factorial layout by seed and type of root extract. 
% The data are shown below, where ri and ni are the number of germinated 
% and the total number of seeds on the i th plate, i =1,...,N. 
% These data are also analysed by, for example, Breslow and Clayton (1993). 
% 
% 		seed O. aegyptiaco 75			seed O. aegyptiaco 73
% 	Bean            Cucumber        Bean            Cucumber
% 	r	n	r/n     r	n	r/n     r   n	r/n     r	n	r/n
% 	_________________________________________________________________
% 	10	39	0.26	5	6	0.83	8	16	0.50	3	12	0.25
% 	23	62	0.37	53	74	0.72	10	30	0.33	22	41	0.54	
% 	23	81	0.28	55	72	0.76	8	28	0.29	15	30	0.50
% 	26	51	0.51	32	51	0.63	23	45	0.51	32	51	0.63
% 	17	39	0.44	46	79	0.58	0	4	0.00	3	7	0.43
%                   10	13	0.77	
% 
% The model is essentially a random effects logistic, allowing for 
% over-dispersion.  If pi is the probability of germination on 
% the i th plate,  we assume
% 
% 	ri  ~  Binomial(pi, ni)
% 	
% 	logit(pi) = a0 + a1x1i + a2x2i + a12x1ix2i + bi
% 	
% 	bi  ~ Normal(0, t)
% 	
% where x1i  , x2i   are the seed type and root extract of the i th plate, 
% and an interaction term a12x1ix2i   is included.   a0 , a1 ,  a2 ,   a12  
% are given independent "noninformative" priors.

         
% The data:

r = [10, 23, 23, 26, 17, 5, 53, 55, 32, 46, 10,...
    8, 10,   8, 23, 0,  3, 22, 15, 32, 3];
n = [39, 62, 81, 51, 39, 6, 74, 72, 51, 79, 13, 16,...
    30, 28, 45, 4, 12, 41, 30, 51, 7];
x1 = [0,   0,  0,   0,   0, 0,   0,   0,  0,   0,   0,...
    1,   1,   1,   1, 1,   1,  1,   1,   1, 1]; % seed type
x2 = [0,   0,  0,   0,   0, 1,   1,   1,  1,   1,   1,  0,...
    0,   0,   0, 0,   1,  1,   1,   1, 1]; % root extract
N = 21;

% some common input parameters you might with to change for all calls to
% winbugs:
burn = 1000; % number of iterations for burn in
samp = 2000; % number of iterations to collect data

% run the model using only the seed type as a factor
dataseed = struct('r',r,'n',n,'x1',x1,'N',N);
init1 = struct('alpha0',0,'alpha1',0,'sigma',1);

[x1samples, x1stats] = matbugs(dataseed, ...
		fullfile(pwd, 'seeds_x1.txt'), ...
		'init', init1, ...
		'nChains', 1, ...
		'view', 0, 'nburnin', burn, 'nsamples', samp, ...
		'thin', 1, 'DICstatus', 1, ...
        'monitorParams', {'alpha0', 'alpha1', 'sigma'}, ...
		'Bugdir', 'C:/Program Files/WinBUGS14');
    
        
% run the model using only the root extract type as a factor
dataseed = struct('r',r,'n',n,'x2',x2,'N',N);
init1 = struct('alpha0',0,'alpha2',0,'sigma',1);

[x2samples, x2stats] = matbugs(dataseed, ...
		fullfile(pwd, 'seeds_x2.txt'), ...
		'init', init1, ...
		'nChains', 1, ...
		'view', 0, 'nburnin', burn, 'nsamples', samp, ...
		'thin', 1, 'DICstatus', 1, ...
        'monitorParams', {'alpha0','alpha2','sigma'}, ...
		'Bugdir', 'C:/Program Files/WinBUGS14');
    
% run the model using both seed and root extract type as factors
% but with no covariate term.
dataseed = struct('r',r,'n',n,'x1',x1,'x2',x2,'N',N);
init1 = struct('alpha0',0,'alpha1',0,'alpha2',0,'sigma',1);

[nocovarsamples, nocovarstats] = matbugs(dataseed, ...
		fullfile(pwd, 'seeds_nocovar.txt'), ...
		'init', init1, ...
		'nChains', 1, ...
		'view', 0, 'nburnin', burn, 'nsamples', samp, ...
		'thin', 1, 'DICstatus', 1, ...
        'monitorParams', {'alpha0','alpha1','alpha2','sigma'}, ...
		'Bugdir', 'C:/Program Files/WinBUGS14');
    
% run the model using both seed and root extract type as factors
% as in the example in Winbugs
dataseed = struct('r',r,'n',n,'x1',x1,'x2',x2,'N',N);
init1 = struct('alpha0',0,'alpha1',0,'alpha2',0,'alpha12',0,'sigma',1);

[fullsamples, fullstats] = matbugs(dataseed, ...
		fullfile(pwd, 'seeds_full_model.txt'), ...
		'init', init1, ...
		'nChains', 1, ...
		'view', 0, 'nburnin', burn, 'nsamples', samp, ...
		'thin', 1, 'DICstatus', 1, ...
        'monitorParams', {'alpha0','alpha1','alpha2','alpha12','sigma'}, ...
		'Bugdir', 'C:/Program Files/WinBUGS14');
         
disp('DIC for seed type only')         
disp(x1stats.DIC.total)
disp('DIC for root extract type only')
disp(x2stats.DIC.total)
disp('DIC allowing for both seed and root type WITHOUT an interaction')
disp(nocovarstats.DIC.total)
disp('DIC allowing for both seed and root type with an interaction')
disp(fullstats.DIC.total)
sprintf('... including both explanatory factors with an interaction term\nincreases model fit as determined by lower DIC values')

         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国精品国产| 欧美高清性hdvideosex| 国产在线观看一区二区| 久久成人免费网| 国产成人福利片| 国产精品国产精品国产专区不片| 日韩亚洲欧美中文三级| 国产人久久人人人人爽| 亚洲精品自拍动漫在线| 亚洲国产精品久久人人爱蜜臀| 奇米色一区二区三区四区| 国内精品在线播放| 在线影院国内精品| 精品粉嫩超白一线天av| 玉足女爽爽91| 日韩av在线播放中文字幕| 国产福利精品一区二区| 在线播放日韩导航| 亚洲天堂久久久久久久| 成人午夜又粗又硬又大| 精品国产一区二区三区不卡 | 在线观看亚洲一区| 成人精品视频一区| 成人午夜视频在线观看| 成人蜜臀av电影| 99久久婷婷国产综合精品电影 | 9i在线看片成人免费| 欧美体内she精视频| 国产精品视频麻豆| 精品一区二区三区蜜桃| 欧美性生交片4| 国产精品天干天干在线综合| 日韩高清中文字幕一区| 91免费看视频| 国产精品国产三级国产三级人妇 | 精品影视av免费| 91精品国产高清一区二区三区蜜臀 | 国产激情91久久精品导航| 欧美久久久影院| 亚洲午夜电影网| 欧美在线短视频| 亚洲国产成人tv| 欧美在线三级电影| 亚洲精品免费一二三区| av色综合久久天堂av综合| 国产精品福利影院| 色综合天天性综合| 一区二区在线观看av| 97国产一区二区| 日韩精品电影在线| 欧美日韩在线播放一区| 亚洲综合色网站| 欧美高清一级片在线| 美女一区二区三区| 精品少妇一区二区三区| 国产sm精品调教视频网站| 久久久.com| 91亚洲永久精品| 午夜影视日本亚洲欧洲精品| 欧美怡红院视频| 久久国产麻豆精品| 国产免费观看久久| 99久久精品一区二区| √…a在线天堂一区| 欧美日韩1234| 成人av动漫在线| 秋霞午夜av一区二区三区| 欧美肥胖老妇做爰| 国产91丝袜在线播放九色| 亚洲日本乱码在线观看| 精品福利二区三区| 在线观看亚洲成人| 美洲天堂一区二卡三卡四卡视频| 亚洲国产高清aⅴ视频| 欧美剧情电影在线观看完整版免费励志电影 | 日韩精品一区二区三区中文精品| av中文一区二区三区| 九九视频精品免费| 日本不卡不码高清免费观看| |精品福利一区二区三区| 精品欧美久久久| 精品国一区二区三区| 欧美日韩国产精品成人| 日本韩国欧美一区| 色婷婷综合在线| 色噜噜狠狠成人中文综合| 成人app在线观看| 色综合天天综合网国产成人综合天 | 精品国产3级a| 精品国产乱码久久久久久夜甘婷婷 | 美洲天堂一区二卡三卡四卡视频| 午夜伦欧美伦电影理论片| 亚洲人妖av一区二区| 国产精品久久午夜| 亚洲美女屁股眼交| 一区二区三区在线免费| 亚洲日本中文字幕区| 一区二区三区免费网站| 亚洲一区二区视频在线观看| 香蕉成人伊视频在线观看| 蜜臀久久久99精品久久久久久| 国产成人综合亚洲91猫咪| 91丝袜美女网| 欧美精品 国产精品| 亚洲欧洲精品一区二区三区不卡| 亚洲成人在线网站| 国产成人av电影在线| 91国偷自产一区二区三区成为亚洲经典| 欧美情侣在线播放| 国产很黄免费观看久久| 不卡的电影网站| 欧美一二三四区在线| 精品国产一区二区三区不卡| 亚洲欧美日韩中文播放| 久久超碰97中文字幕| 欧美精品亚洲二区| 亚洲一区二区三区中文字幕在线| 国产成人综合在线| 欧美美女激情18p| 一区二区三区欧美在线观看| 国产成人亚洲精品狼色在线| 91精品国产综合久久精品app| 亚洲精选免费视频| 成人黄色在线视频| 久久久久久久久久久久久久久99| 午夜电影久久久| 欧美性猛片aaaaaaa做受| 亚洲欧洲av在线| 欧美久久久久久久久久| 亚洲人成伊人成综合网小说| 国产91色综合久久免费分享| 久久精品免视看| 成人美女在线观看| 国产精品成人免费在线| 懂色av一区二区三区蜜臀| 久久久亚洲精品石原莉奈| 国产成人亚洲精品狼色在线| 国产精品免费久久久久| 91麻豆文化传媒在线观看| 亚洲欧美日韩中文播放 | 91在线观看下载| 亚洲日本丝袜连裤袜办公室| 成人精品视频网站| 亚洲欧洲av另类| 欧美一区二区精品在线| 久久国产麻豆精品| 国产女主播一区| 欧美中文字幕亚洲一区二区va在线| 成人免费小视频| 欧美乱妇一区二区三区不卡视频| 亚洲成人自拍网| 在线不卡欧美精品一区二区三区| 麻豆精品国产传媒mv男同| 国产人伦精品一区二区| 欧日韩精品视频| 日本成人中文字幕在线视频| 久久综合九色综合97婷婷| 国产成人亚洲综合a∨婷婷图片| 亚洲少妇中出一区| 国产精品乱人伦中文| 91超碰这里只有精品国产| 91福利在线导航| 成人免费毛片aaaaa**| 日韩中文字幕亚洲一区二区va在线 | 另类人妖一区二区av| 亚洲欧美另类小说| 国产欧美一区二区三区在线老狼| 日韩欧美一二三| 91精品国产色综合久久不卡电影| 色狠狠色噜噜噜综合网| 91麻豆文化传媒在线观看| 大陆成人av片| 日本久久电影网| 成人av影院在线| 粉嫩av亚洲一区二区图片| 婷婷六月综合亚洲| 午夜视频久久久久久| 亚洲欧美区自拍先锋| 国产精品久久一卡二卡| 久久午夜老司机| 精品久久五月天| 精品少妇一区二区三区 | 日本一区二区视频在线| 国产精品视频九色porn| 亚洲精品一二三区| 三级久久三级久久| 精品一区二区三区在线观看国产| 国产乱码精品一品二品| 床上的激情91.| 这里只有精品99re| 欧美不卡在线视频| 最新成人av在线| 亚洲一区二区三区四区的| 青青草国产成人av片免费| 亚洲aⅴ怡春院| 国产精品白丝jk白祙喷水网站| 国产精品一卡二卡在线观看| av激情成人网| 欧美日韩国产乱码电影| 精品欧美一区二区在线观看 |