More servicesWindows Live
HomeHotmailSpacesOneCare
 
MSN
Sign in
 
 
Spaces home  WENSUI'S BLOG IN STATIST...PhotosProfileFriendsMore Tools Explore the Spaces community

WenSui Liu ( 刘文穗 )

View spaceSend a message
Interests:
A lousy statistician who happens to know a little programming
Added a blog entry "A MACRO FOR MEDIAN IMPUTATION"
data tmp1;  do i = 1 to 1000;    x1   = rannor(1);    x2   = rannor(2);    if i < 10 then do;      x1 = .;      x2 = .;    end;    output;  end;run;proc means data = tmp1 n nmiss median;  var x1 x2;ru
July 17 11:39 PM
data tmp1;  do i = 1 to 1000;    x1   = rannor(1);    x2   = rannor(2);    crap = 1;    output;  end;run;proc means data = tmp1 p99 min median max n;  var x1 x2;run;%macro cap(in = , out = output, var
July 17 10:33 PM
# FINANCIAL NUMERICAL RECIPES IN C++# EXAMPLE 3.2: internal rate of returnfrom numpy import *# a function calculating present valuedef pv_discrete(r):  C = array([-100, 10, 110])  t = array([0, 1, 2])
July 13 10:34 PM
# FINANCIAL NUMERICAL RECIPES IN C++# EXAMPLE 3.1: one interest rate with annual compoundingfrom numpy import *# investment for 100 today with 75 cash flow in next 2 years eachC = array([-100, 75, 75]
July 13 12:41 AM
options mprint;data kyphosis;   input Age StartVert NumVert Kyphosis @@;   if StartVert <= 10 then StartVert_class = "A";  else StartVert_class = "B";  datalines; 71  5  3  0     158 14 3 0    128 5  
July 12 9:35 AM
Updated Profile
June 22 8:25 PM
Updated folder "Public"
June 05 5:37 AM
View profile
Lorraine
View profile
Alison
View profile
天是蓝的 叶子是绿的
View profile
Theorbo
View profile
David C Schupbach
View profile
Rana Shaaban

Events

This person isn't sharing any events right now.