Q: I am a Statistics major and would like to change to a combined Econ/Stat Major program. What is the procedure?

Please see the Department of Economics find web link for more information. The deadline to apply is around May 20th.
https://economics.ubc.ca/undergraduate/programs/majorscombined-majors-pr...

Q: I have previously applied for admission to the Statistics major but I was not successful. Can I apply again?

If you have continued to take Stat / Math courses at the 300 level and above, and your grades have improved, then you can apply again at:
https://ubc.ca1.qualtrics.com/jfe/form/SV_0MQQzD5Bq1wqtyl

Q: I am interested being a Major in Statistics but am currently in a different specialisation. How can I apply to transfer to Statistics?

We assume that you are in year 2 or later. You can apply via the online form at: https://ubc.ca1.qualtrics.com/jfe/form/SV_0MQQzD5Bq1wqtyl after you have completed Stat 200 (introductory statistics), Math 200(multivariable calculus), Math 221 (linear algebra) and Math/Stat 302 (introductory probability) with decent grades.
Please read the instructions carefully before submitting your application. Applications will be considered in January and in May each year by the reviewing of overall profiles and grades in relevant Computer Science, Mathematics, and Statistics courses.
The application deadlines are mid-January and mid-May. Entry to the Statistics major is competitive. For any further inquiries such as Major in Mathematical Sciences, please contact an advisor at latemajorentrants at stat dot ubc dot ca.

Q: I am interested being a Major in Statistics, but the Faculty of Science assigned me to a different major. Any recommendations?

If you are in year 2, follow the recommended courses listed in the academic calendar for the Statistics specialisation that you are interested in: for example, Major in Statistics, Combined Major CPSC/Statistics, Combined Major Statistics/Economics.
Take Math 200 (multivariable calculus), Math 221 (linear or matrix algebra) and Math/Stat 302 (introductory probability) as soon as possible. Then read the next item.

Q: I am interested being a Major in Statistics. How can I apply?

If you are applying at the end of year 1 and hope to be a Statistics major with year 2 standing, please follow the procedure at http://www.science.ubc.ca/students/degree/apply. You should list Statistics among your top 3 choices. If you ask for Statistics as a top choice and didn't get this choice, please go to the next item.

Q: Do you have anti-virus software that I can download and use free of charge?

Yes.  UBC ITServices has a software license for the Cisco Advanced Malware Protection (AMP), please refer to UBC "malware-protection" web page for more information:

     https://it.ubc.ca/services/cybersecurity-services/malware-protection

The software license is applied to:

  • UBC-owned devices: Supported by a Faculty, Department of Research IT Department
  • Personal-owned devices: Used for University Business

We retain a copy of the latest version of UBC cybersecurity software which we can distribute locally to qualified users via our Nextcloud service, also known as owncloud.stat.ubc.ca.  Please contact the department IT staff for support.

Q: How to add guest user on my virtual server?

Add a guest
Guest login name should be easy to identify and no space or special characters. 
ie. John Foo = john.foo
$ sudo useradd john.foo

Add guest password
$ sudo passwd john.foo
  Make a strong passwd for your guest and ask your guest  to call you for passwd.

Add guest to sshfs mounting group
$ sudo usermod -a -G fuse john.foo

Delete guest users account and all of their files
$ sudo userdel john.foo

Q: Does StatNet offer Dropbox alternative? Owncloud?

Server: https://owncloud.stat.ubc.ca/
Login and password are the same as StatNet
Disk quota 20Gb
Users can add their local storage or Dropbox/Goggle Drive  storage to their  Owncloud account

Dropbox: You will need App key and App secret from Dropbox for Owncloud client
to use Dropbox remote storage on its server.
Login Dropbox,
Create "Dropbox API app"
--> Files and Datastores

--> No, My app needs access to files already on Dropbox
--> All file types.
 

http://blog.gapinthecloud.com/2012/06/13/mounting-dropbox-into-owncloud/

More info
 here

There are 3 ways to access your files
a) Install a Desktop sync-client  How to here
     Sync Client download
           For Mac/Win/Linux
                  http://owncloud.org/sync-clients/
            For Smart Mobile Devices
                   https://owncloud.com/blog/now-use-owncloud-on-you-ipad-iphone-or-android
b) Using a web browser
      Support all major browsers. No plugin required
c) WedDav
       How to here

Complete Owncloud Desktop client Document here.

Q: SSH without a password. Setup SSH Keys on a Linux / Unix System.

On you local Mac/Linux laptop/workstation do:
$ mkdir .ssh
$ ssh-keygen -t rsa -b 4096 -f .ssh/mykeys
It will generate 2 files:  mykeys   and    mykeys.pub inside the .ssh folder.
Use ' ssh-copy-id' command' to copy the keys to our Virtual server.

Notes: Mac OSX does not have' ssh-copy-id' command. 
Download here:  https://raw.githubusercontent.com/beautifulcode/ssh-copy-id-for-OSX/master/ssh-copy-id.sh

$ sudo curl https://raw.githubusercontent.com/beautifulcode/ssh-copy-id-for-OSX/master/ssh-copy-id.sh -o /usr/local/bin/ssh-copy-id
$ sudo chmod +x /usr/local/bin/ssh-copy-id

Now you can copy the newly generated key to Virtual server. (Replace 'stty2u' with your users login name)
$ /usr/local/bin/ssh-copy-id -i .ssh/mykeys stty2u [at] rcloud.stat.ubc.ca

Add your key to your laptop/workstation.
$ssh-add .ssh/mykeys

Test it
$ssh stty2u [at] rcloud.stat.ubc.ca

You should not be asked for password.
Q: How to mount/unmount StatNet home directory using sshfs?

We use "sshfs" to mount your StatNet home directory securely.
For your convenient, we created a sshfs script in "/usr/local/bin/statfiles".
For usage, type 'statfiles' at the command line terminal.

Notes: If you are running batch jobs, you should mount and unmount statfiles manually.
A) To manually Mount:
$statfiles mount
$cd statfiles

B) To manually  unmount
$cd
$statfiles unmount


Howto  Use "sshfs" to mount your StatNet home storage automatically
1) Edit .bash_profile and remove these hashes, using vim or emacs.
   $ emacs .bash_profile
        ...
        statfiles mount
        sync
        cd statfiles
       ...
2) To unmount statfiles after logout
Edit .bash_login and remove these hashes
   $ emacs .bash_logout
        ...
        cd ~
        sync
        /usr/local/bin/statfiles unmount
       ...
3)Logout and Login your VM again.
   You need to supply your StatNet passwd twice.  One for your VM and one for your StatNet Home directory to mount.
4) Confirm your StatNet location
   $ pwd
   $ ls
5) Now you can start running your code.
   $ program your_code here.

Do not save anything important on your local VM disk since it has limited snapshot and backup.
Your local VM files is saved for 7 days and every hours.

Pages