- df -h #查看内存占用who
- cat gbd_tbalxx | xargs -n 1 -P 30 work.shzcat for i in *.gz ; do echo "=============$i============="; zcat $i | head ; echo "" ; done 1>onepiece.txttimed out waiting for input: auto-logoutless -SN onepiece.txt
- for i in *.gz ; do echo "=============$i============="; zcat $i | head ; echo "" ; done 1 > onepiece.txt timed out waiting for input: auto-logout
- [2016-01-02]:history | grep agqless output.txt | awk -F"|" '{print NF}' | sort | uniq -ccat output.txt | awk 'NR>5' | lesscat output.txt | awk 'NR>5' | awk -F"|" '{print $1}'|lesscat output.txt | awk 'NR>5' | awk -F:"|" '{print $2}'|lesscat output.txt | awk 'NR>5' | awk -F"|" '{print $3}'|lesscat output.txt | awk -F"|" 'NF==4' | lesscat output.txt | awk -F"|" 'NF==4' | awk 'NR>1' | less
- sed -i '1 s/^\xef\xbb\xbf//' *.txt
- tt.py:import sys,osfor line in sys.stdin: cols=line.split("|") if len(cols) == 5: print '\t'.join(map(lambda x:x.strip(), cols)) else: pass
- cat ~ | python tt.py > ~.2cat ~.2 | awk '/产险/' | lesscat ~.2 | awk '{print $0 > $1".company"}'
- [2016-01-14][vim跳到terminal]Ctrl+zfggg:命令将光标移动到文档开头G:命令将光标移动到文档末尾
- agload --verbose --encoding utf-8 -g "<http://credoo.com/dbadmin#version2016-01-18>" metadb /opt/dbadmin.nt -e ignore
- zsh 进入
- htop
- du -ch dir
- export LANG="en_US.UTF-8"
- awk -F "-t" '{print $11}' aaa.txt | sort -u | lessawk -F "-t" '{print $11}' aaa.txt | sort | uniq -c | less
- for i in `agquery metadb get_company.rq | awk -F "|" 'NR>4{if(length($2)>0){gsub(/[ \t]+$/, "", $2); print $2}}' `;do echo $i; sed "s/CCCC/$i/" sparql02.rq > company_db.rq; /home/asenal/BIN/agraph-5.1/bin/agquery metadb company_db.rq > $i.output2; cat $i.output2 | awk 'NR>4' | awk -F "|" '{print $2 "|" $3 "|" $4}' > $i.output ; bash task02-com_db.sparql_dot.sh $i.output > $i.dot; dot -Tpng -o $i.dot.png $i.dot; twopi -Tpng -o $i.twopi.png $i.dot; # dot -Tpdf -o $i.dot.pdf $i.dot; # twopi -Tpdf -o $i.twopi.pdf $i.dot; rm $i.output2; rm $i.output;done
多重填补过程(MI)参考书
Barnard, J., and Meng, X. L. (1999), "Applications of Multiple Imputation in Medical Studies: From AIDS to NHANES," Statistical Methods in Medical Research, 8, 17每36.
Brand, J. P. L. (1999), "Development, Implementation and Evaluation of Multiple Imputation Strategies for the Statistical Analysis of Incomplete Data Sets," Ph.D. dissertation, Erasmus University, Rotterdam.
Heitjan, F. and Little, R. J. A. (1991), "Multiple Imputation for the Fatal Accident Reporting System," Applied Statistics, 40, 13每29.
Horton, N. J. and Lipsitz, S. R. (2001), "Multiple Imputation in Practice: Comparison of Software Packages for Regression Models with Missing Variables," The American Statistician, 55, 244每254.
Lavori, P. W., Dawson, R., and Shera, D. (1995), "A Multiple Imputation Strategy for Clinical Trials with Truncation of Patient Data," Statistics in Medicine, 14, 1913每1925.
Li, K. H. (1988), "Imputation Using Markov Chains," Journal of Statistical Computation and Simulation, 30, 57每79.
Li, K. H., Raghunathan, T. E., and Rubin, D. B. (1991), "Large-Sample Significance Levels from Multiply Imputed Data Using Moment-Based Statistics and an F Reference Distribution," Journal of the American Statistical Association, 86, 1065每1073.
Little, R. J. A. and Rubin, D. B. (2002), Statistical Analysis with Missing Data, Second Edition, New York: John Wiley & Sons.
Liu, C. (1993), "Bartlett*s Decomposition of the Posterior Distribution of the Covariance for Normal Monotone Ignorable Missing Data," Journal of Multivariate Analysis, 46, 198每206.
Oudshoorn, C. G. M., van Buuren, S., and Rijckevorsel, J. L. A. (1999), "Flexible Multiple Imputation by Chained Equations of the AVO-95 survey," TNO Prevention and Health, TNO Report PG/VGZ/99.045.
Rosenbaum, P. R. and Rubin, D. B. (1983), "The Central Role of the Propensity Score in Observational Studies for Causal Effects," Biometrika, 70, 41每55.
Rubin, D. B. (1987), Multiple Imputation for Nonresponse in Surveys, New York: John Wiley & Sons.
Rubin, D. B. (1996), "Multiple Imputation after 18+ Years," Journal of the American Statistical Association, 91, 473每489.
van Buuren, S. (2007), "Multiple Imputation of Discrete and Continuous Data by Fully Conditional Specification," Statistical Methods in Medical Research, 16, 219每242.
Tanner, M. A. and Wong, W. H. (1987), "The Calculation of Posterior Distributions by Data Augmentation," Journal of the American Statistical Association, 82, 528每540.
van Buuren, S., Brand, J. P. L., Groothuis-Oudshoorn, C. G. M., and Rubin, D. B. (2006), "Fully Conditional Specification in Multiple Imputation," Journal of Statistical Computation and Simulation, 76, 1049每1064.


雷达卡




京公网安备 11010802022788号







