<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.8.0 (http://www.squarespace.com/) on Sat, 07 Nov 2009 14:38:05 GMT--><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><title>Jared Prins' Blog</title><subtitle>Blog</subtitle><id>http://jaredprins.squarespace.com/blog/</id><link rel="alternate" type="application/xhtml+xml" href="http://jaredprins.squarespace.com/blog/"/><link rel="self" type="application/atom+xml" href="http://jaredprins.squarespace.com/blog/atom.xml"/><updated>2009-08-25T17:23:23Z</updated><generator uri="http://www.squarespace.com/" version="Squarespace Site Server v5.8.0 (http://www.squarespace.com/)">Squarespace</generator><entry><title>Show all possible values in table regardless of whether or not the value exists</title><category term="Proc Freq"/><category term="Proc Summary"/><category term="Proc Tabulate"/><category term="SAS"/><id>http://jaredprins.squarespace.com/blog/2009/8/25/show-all-possible-values-in-table-regardless-of-whether-or-n.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/8/25/show-all-possible-values-in-table-regardless-of-whether-or-n.html"/><author><name>Jared</name></author><published>2009-08-25T17:01:15Z</published><updated>2009-08-25T17:01:15Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>Here are two solutions when creating a table to show responses to a questionnaire where respondents rate items in various categories. In this case, the responses range from 0 to 5 (N/A, Very Poor, Poor, Average, Good, Very Good).</p>
<p>Given the following Data:</p>
<blockquote>data test; <br />input var1 var2 var3; <br />datalines; <br />. 2 . <br />. 2 1 <br />0 2 1 <br />0 2 1 <br />1 2 1 <br />1 2 1 <br />1 3 1 <br />3 3 5 <br />3 3 5 <br />3 3 5 <br />3 4 5 <br />3 4 5 <br />5 4 5 <br />; <br />run;</blockquote>
<p><strong>Solution #1: Proc Tabulate</strong> (<a class="offsite-link-inline" href="http://support.sas.com/techsup/technote/ts278.html">http://support.sas.com/techsup/technote/ts278.html</a>)</p>
<blockquote>data dummy; <br />input var1 var2 var3; <br />cards; <br />0 0 0 <br />1 1 1 <br />2 2 2 <br />3 3 3 <br />4 4 4 <br />5 5 5 <br />; <br />run; <br /><br />proc format; <br /> value var_fmt <br /> 0="N/A" <br /> 1="Very Poor" <br /> 2="Poor" <br /> 3="Average" <br /> 4="Good" <br /> 5="Very Good" <br /> ; <br />run; <br />quit; <br /><br />data joined; <br /> set test(in=is_valid) dummy; <br /> if is_valid then valid=1; <br />run;  <br /><br />%macro doit; <br />%DO I=1 %TO 3; <br />proc tabulate data=joined format=8.; <br /> class var&amp;I;<br /> var valid; <br /> tables var&amp;I, valid=' '*n=' '     <br /> / rts=22 misstext='0'; <br /><br /> title 'Title Here'; <br /> format var&amp;I var_fmt.; <br /> label var&amp;I="Var&amp;I Label Here"; <br />run;  <br />%END; <br />%mend; <br /><br />%doit;<br /></blockquote>
<p><strong>Solution #2: Proc Summary + Proc Freq Combo</strong> (<a class="offsite-link-inline" href="http://groups.google.ca/group/comp.soft-sys.sas/browse_thread/thread/eba82d9c5c37bb71?hl=en">http://groups.google.ca/group/comp.soft-sys.sas/browse_thread/thread/eba82d9c5c37bb71?hl=en</a>)</p>
<blockquote>proc format; <br /> value var_fmt <br /> .="Missing" <br /> 0="N/A" <br /> 1="Very Poor" <br /> 2="Poor" <br /> 3="Average" <br /> 4="Good" <br /> 5="Very Good" <br /> ; <br />run; <br />quit; <br /><br />proc summary nway completetypes missing; <br /> class var1--var3 / preloadfmt; <br /> format var1--var3 var_fmt.; <br /> output out=count(drop=_type_); <br />run; <br /><br />proc freq data=count; <br /> tables var1--var3 / list nocum; <br /> format var1--var3 var_fmt.; <br /> weight _freq_ / zeros; <br />run;</blockquote>
<p><a class="offsite-link-inline" href="http://snipplr.com/view/18831/show-all-possible-values-in-table-regardless-of-whether-or-not-the-value-exists/">Code snippet here</a>.</p>]]></content></entry><entry><title>Duct tape does everything</title><category term="General"/><id>http://jaredprins.squarespace.com/blog/2009/6/22/duct-tape-does-everything.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/6/22/duct-tape-does-everything.html"/><author><name>Jared</name></author><published>2009-06-22T14:53:08Z</published><updated>2009-06-22T14:53:08Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>Men love duct tape.&nbsp; I think it's a part of our DNA.&nbsp; There is even a <a class="offsite-link-inline" href="http://www.redgreen.com/">movie about Duct Tape</a>...sort of.&nbsp; I bring this up because on my way home last week, I saw a good self fix-it attempt on a Jeep:</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://jaredprins.squarespace.com/storage/post-images/duct-tape-bumper.jpg?__SQUARESPACE_CACHEVERSION=1245682658580" alt="" /></span></span></p>
<p>Yesiree, good as new!</p>]]></content></entry><entry><title>Music Industry Dummies</title><category term="Business"/><category term="Music"/><category term="Statistics"/><id>http://jaredprins.squarespace.com/blog/2009/6/12/music-industry-dummies.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/6/12/music-industry-dummies.html"/><author><name>Jared</name></author><published>2009-06-12T22:31:46Z</published><updated>2009-06-12T22:31:46Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>We all know the Music Industry is running around suing everyone they can for downloading music.&nbsp; They seem to have made Weird Al's song <a class="offsite-link-inline" href="http://www.youtube.com/watch?v=zIllRdSzSug">I'll sue ya</a> their motto.</p>
<p>In my opinion, they are complete idiots.&nbsp; <a class="offsite-link-inline" href="http://blogs.sas.com/jimdavis/index.php?/archives/8-While-I-am-not-advocating-you-break-the-law.html">Jim Davis' blog post about Fraudsters</a> got me thinking about the missed opportunity to collect data from illegal activities.&nbsp; If the Music Industry weren't so busy being crybaby's about losing money, they'd realise they can probably make more money with letting people download music illegally, or listening to music online for free.</p>
<p>For example, I am currently listening to Tragically Hip for free on the <a class="offsite-link-inline" href="http://www.thehip.com">Tragically Hip website</a>.&nbsp; There is the option to create a user account.&nbsp; Imagine collecting socio-demographic information in the signup form and linking it to artist preferences right down to specific songs.&nbsp; By datamining people's playlists, you can really target future sales of service or merchandise to specific groups of people.&nbsp;</p>
<p>If the Music Industry created one big-ass website where anyone could listen to any song, they could do amazing things.&nbsp; They would be able to forecast the next big artist with a greater degree of accuracy.&nbsp; A music artist could improve a songs ability to be on the #1 top hit list because the data says people prefer a certain speed of song.&nbsp; Perhaps their is a relationship between artist voice type and music genre such that a certain type of voice for a certain type of song means the artist is 30% less popular?&nbsp; Perhaps kids between the ages of 11 and 15 like songs with deeper bass drums?&nbsp;</p>
<p>Now, imagine when visitors are on the website listening to Rap Artist XYZ.&nbsp; They see they can click on a link to purchase the same sweatshirt the artist is wearing on the album cover.&nbsp; The Music Industry now has deeper relationships with other product lines.&nbsp; Need I say anymore about the endless possibilities?</p>
<p>Add to this the ability to track music preference changes over time?&nbsp; It's a gold mine, baby.</p>
<p>It's not about selling a song at one point in time.&nbsp; It's about the Music Industry being a part of your life for a longer term.&nbsp; They become a part of your daily activity, not something playing in the background.</p>
<p>The trick is to understand that the money is not in the song itself.&nbsp; The money comes from what you offer around the song.</p>]]></content></entry><entry><title>Google says Data Geeks are Sexy</title><category term="News"/><category term="Statistics"/><id>http://jaredprins.squarespace.com/blog/2009/6/8/google-says-data-geeks-are-sexy.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/6/8/google-says-data-geeks-are-sexy.html"/><author><name>Jared</name></author><published>2009-06-08T17:59:48Z</published><updated>2009-06-08T17:59:48Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>Google's Chief Economist predicts that <a class="offsite-link-inline" href="http://dataspora.com/blog/sexy-data-geeks/">Data guru's will be in hot demand over the next over the next 10 years</a>.</p>]]></content></entry><entry><title>SAS Text Mining Training in Canada</title><category term="SAS"/><category term="Text Mining"/><id>http://jaredprins.squarespace.com/blog/2009/6/5/sas-text-mining-training-in-canada.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/6/5/sas-text-mining-training-in-canada.html"/><author><name>Jared</name></author><published>2009-06-05T18:00:30Z</published><updated>2009-06-05T18:00:30Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>I have a beef with SAS.&nbsp; You all know I love SAS, but I've been looking into Text Mining training and it irks me a little.&nbsp; Let me explain...</p>
<p>My work recently invested in <a class="offsite-link-inline" title="Capitalize on the value hidden in textual information" href="http://www.sas.com/technologies/analytics/datamining/textminer/">SAS' Text Mining product</a>.&nbsp; It is an additional component to <a class="offsite-link-inline" title="Unearth valuable insight and gain profitable data mining results with less time and effort" href="http://www.sas.com/technologies/analytics/datamining/miner/index.html">Enterprise Miner</a> (i.e. you need Enterprise Miner to run Text Miner).&nbsp; Let me tell you, it ain't cheap - but for good reason - it is very powerful and sophisticated software.&nbsp; Since we've been doing Text-Mining-ish analysis for many years now, we can really use this software.</p>
<p>So we bought it, installed it, and now I need to learn how to use it!&nbsp; Here are my options for learning SAS Text-Miner:</p>
<ol>
<li>Buy some books about Enterprise Miner and Text Mining.&nbsp; The one's I picked up include:<br />a) <a class="offsite-link-inline" href="http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&amp;pc=59829">Introduction to Data Mining Using SAS Enterprise Miner</a><br />b) <a class="offsite-link-inline" href="http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&amp;pc=E1036">Mining Textual Data Using SAS Text Miner for SAS 9 Course Notes</a><br />c) <a class="offsite-link-inline" href="http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&amp;pc=59410">Getting Started with SAS 9.1 Text Miner</a><br />While I have the aptitude to sit down with a book and learn the software, it is always valuable to see it hands on from the experts. </li>
<li>E-Training.&nbsp; The options are:<br />a) Enterprise Miner e-training<br />b) Enterprise Miner live-training<br />There is no Text Mining online training.&nbsp; If there was, I'd be signing up for it.</li>
<li>Take a course.&nbsp; There is a 2-day classroom training for <a class="offsite-link-inline" href="https://support.sas.com/edu/schedules.html?ctry=us&amp;id=78">Mining Textual Data Using SAS Text Miner for SAS 9</a>.&nbsp; However, we can't justify flying out-of-country.&nbsp; The course is <a class="offsite-link-inline" href="http://support.sas.com/training/canada/">offered in Canada</a>, but only in Toronto, ON and Vancouver, BC.&nbsp; Sady, flying out-of-province is somewhat restricted, so I probably can't go to these.&nbsp; It would be much nicer if the course was also offered in Edmonton or Calgary.</li>
<li>We did talk to the SAS rep in Edmonton and they did look at different options for training.&nbsp; I think they even looked into flying someone out from SAS, but because there wasn't enough interest from other Text-Miner clients, I guess it's not a worthwhile option.&nbsp; That's understandable.</li>
</ol>
<p>So, I feel a little ripped off because we payed for this expensive software and then the company sort of leaves you hanging to figure things out on your own.</p>
<p>And don't get me started about how painfully annoying the Text Mining installation was.&nbsp; There needs to be more clear instructions for how to install it.&nbsp; The instructions we did get seemed like an afterthought. But we did eventually figure it out.</p>
<p>While I'd like to see more options in Calgary/Edmonton for classroom training, I understand that it depends on the number of clients that could/would attend.&nbsp; But there are 2 ways I think SAS can improve their Text-Mining offering.&nbsp; First, have clear and extremely detailed instructions on installing Enterprise/Text Miner.&nbsp; Second, offer Live Web Training and/or E-training.&nbsp;</p>
<p>*Update: Although I posted this a couple hours ago, I'd like to say one more thing. &nbsp;SAS tends to be a very progressive company. &nbsp;So I am sure that someday soon they will have videoconferencing capabilities in their classrooms. &nbsp;I see no reason why a public course being tought in California should be limited to residents of California or nearby. &nbsp;Anyone should be able to pay a fee and tap in to the class via the internet.</p>]]></content></entry><entry><title>here.there.everywhere.....nowhere?</title><category term="General"/><id>http://jaredprins.squarespace.com/blog/2009/5/27/herethereeverywherenowhere.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/5/27/herethereeverywherenowhere.html"/><author><name>Jared</name></author><published>2009-05-27T22:02:48Z</published><updated>2009-05-27T22:02:48Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>I may have to change my blog slogan to <strong>here.there.everywhere.<span style="text-decoration: underline;">nowhere</span></strong>.&nbsp; It's been a few months since my last post, maybe you've noticed?&nbsp; On March 1st I became very sick.&nbsp; The cause remained unknown until about 2 weeks ago.&nbsp; In fact, I should say cause(s).&nbsp; The first may be thyroid related.&nbsp; It causes my energy levels to be really good or REALLY bad.&nbsp; The second is due to food sensitivities.</p>
<p>Food insensitivities are delayed food allergies.&nbsp; This means when I eat certain things, it doesn't affect me for hours or even days later.&nbsp; After a somewhat expensive blood test, it revealed I have 37 food sensitivities.&nbsp; While my doctor and I are watching my thyroid hormone levels, I am on a strict diet for the next 2 to 3 months, after which I can slowly re-introduce most of the foods back into my diet.&nbsp;</p>
<p>Food sensitivies, if left unchecked, can turn into full-blown food allergies, so I am taking this diet pretty seriously.</p>
<p>Here is a small list of foods I have to avoid for the summer:</p>
<ul>
<li>cow's milk</li>
<li>wheat</li>
<li>barley</li>
<li>baker's and brewer's yeast</li>
<li>rye</li>
<li>corn</li>
<li>rice</li>
<li>tapioca</li>
<li>sugar cane</li>
</ul>
<p>As you can see, this is a lot of stuff.&nbsp; Not only that, but <em>many</em> products contain derivatives of these foods.&nbsp; For example, I was happy to find Soy Chedder Cheese, but not so happy to see Corn Starch as one of the ingredients.&nbsp; Annoyingly, there are many products I can almost have, but it will contain a corn derivative (like dextrose, maltodextrine or Xanthan gum (which may or may not come from corn)) or sugar cane.&nbsp;</p>
<p>I've been learning lots about health and food and decided I'll&nbsp; be starting a new journal on this blog about food sensitivities.&nbsp; I've also found a number of recipes which I'll share.&nbsp; Maybe it will help others who find themselves in a similar situation.</p>]]></content></entry><entry><title>Google Ad Users Need to Add Privacy Policy to Websites</title><id>http://jaredprins.squarespace.com/blog/2009/3/29/google-ad-users-need-to-add-privacy-policy-to-websites.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/3/29/google-ad-users-need-to-add-privacy-policy-to-websites.html"/><author><name>Jared</name></author><published>2009-03-29T15:54:27Z</published><updated>2009-03-29T15:54:27Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>If you use Google Ads on your site, you now also need to add a Privacy Policy on your Website.&nbsp; From what I've ready, the following components need to be addressed in the Privacy Policy:</p>
<ul>
<li> Google, as a third party vendor, uses cookies to serve ads on your site.</li>
<li>Google's use of the DART cookie enables it to serve ads to your users based on their visit to your sites and other sites on the Internet.</li>
<li>Users may opt out of the use of the DART cookie by visiting the Google ad and content network privacy policy.</li>
</ul>
<p>The Google Ad and content network privacy policy information can be found here: <a class="offsite-link-inline" href="http://www.google.com/privacy_ads.html">http://www.google.com/privacy_ads.html</a></p>]]></content></entry><entry><title>Good Advice for Students</title><category term="Business"/><category term="Portfolio"/><id>http://jaredprins.squarespace.com/blog/2009/3/22/good-advice-for-students.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/3/22/good-advice-for-students.html"/><author><name>Jared</name></author><published>2009-03-22T18:00:12Z</published><updated>2009-03-22T18:00:12Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>Here is a list of <a class="offsite-link-inline" href="http://designreviver.com/tips/10-things-they-dont-teach-you-in-design-school/">10 things they don't teach you in design school</a>. Many of these are applicable for just about anyone coming out of school (even some who have been done school for quite some time).</p>
<p>Some of the points that I feel are most important include (and in my own words):</p>
<p>#1 - Your portfolio is more important than your diploma.</p>
<p>#3 - Your clients really only care about you getting the work done and more.</p>
<p>#5 - Always, always backup your data.&nbsp; Have an onsite backup and an offsite redundant backup.</p>
<p>#7 - I always get my clients to at least sign a Non Disclosure Agreement (NDA).</p>
<p>&nbsp;</p>]]></content></entry><entry><title>My review scanned by some pr0n bot</title><category term="Funny"/><id>http://jaredprins.squarespace.com/blog/2009/3/21/my-review-scanned-by-some-pr0n-bot.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/3/21/my-review-scanned-by-some-pr0n-bot.html"/><author><name>Jared</name></author><published>2009-03-21T19:33:46Z</published><updated>2009-03-21T19:33:46Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>Looking at my webstats I see that some porn site bot is scanning my <a href="http://jaredprins.squarespace.com/naked-conversations-summary/">Naked Conversations book review</a>. &nbsp;LOL! &nbsp;Just because it has the word Naked is in it? &nbsp;How sad...</p>]]></content></entry><entry><title>Adobe Invalid Serial Number After Installing Adobe Flex</title><category term="Software"/><id>http://jaredprins.squarespace.com/blog/2009/3/21/adobe-invalid-serial-number-after-installing-adobe-flex.html</id><link rel="alternate" type="text/html" href="http://jaredprins.squarespace.com/blog/2009/3/21/adobe-invalid-serial-number-after-installing-adobe-flex.html"/><author><name>Jared</name></author><published>2009-03-21T18:00:48Z</published><updated>2009-03-21T18:00:48Z</updated><content type="html" xml:lang="en-CA"><![CDATA[<p>If you have a licensed Adobe product such as Adobe Acrobat Pro 9.0 and you go to install a trial version of Adobe Flex, be prepared to be hit with an error "Invalid Serial Number".&nbsp;</p>
<p>I think the problem is that the Adobe Flex trial overwrites your serial number in your registry along with some other things that are needed to ensure your licensed product is valid.</p>
<p>Changing the key in your registry will not work.&nbsp; You'll have to uninstall everything and re-install your licensed product.</p>
<p>You'd think a company like Adobe wouldn't have made such a mistake between licensed and trial versions...</p>]]></content></entry></feed>