The LITI rule for Text Analytics that you didn’t know you needed…until now!
Recent Library Articles
Recently in the SAS Community Library: Customer complaint call transcripts can end up being quite verbose. SAS' @PeterChristie reveals how to distill relevant info using SAS Text Analytics.
Hi, I have a large set of users (internal users @saspw) and I'd like to give them the chance to change their internal password by themselves. They have an access to the stored process web app, and only that application. I am thinking of a Stored Process that they could use to change this password. Has someone already created such stored process? Thanks Cédric
... View more
It takes all kinds of minds on a team – people with diverse backgrounds and skill levels – to do amazing things. If you are looking to join a team, let’s find you a group. Or maybe your team needs more hackers. If so, please follow these steps:
STEP 1. Reply to this post with your search criteria. Include the follow details:
“I’m looking for a team.” or “I’m looking for a team member.”
Track name
Skills
Your LinkedIn and/or GitHub profile (if applicable)
Here’s an example:
Interest: I’m looking for a team
Track: Energy
Skills: SAS Viya
Social: https://www.linkedin.com/in/christine-brown-47425316/
STEP 2. Create your replies following this order to maintain consistency in the thread.
STEP 3. Contact a potential new teammate using the SAS Support Communities' private messaging feature to discuss if a team or member is a good fit.
STEP 4. You need to be a member of a team in order to Register.
STEP 5: If you have any edits to your team after you Register, send an email to sashackathon@sas.com. The Event Team needs to know about any changes to your team and members. Also, don’t forget to update your team profile on the SAS Hacker's Hub.
Happy hacking!
... View more
Hi All, There are both Chinese and English characters in my report. I want to use the Time New Roman font for the English characters and the SimSun font for the Chinese ones. I tried a font-face list "Times New Roman, Simsun" in my style definition. Given the Time New Roman font has no glyph for Chinese characters, I think the SimSun font will be applied for Chinese. This method is often used in CSS. But the result is not what I expected. Word processor says the Chinese characters in my report have a monospace font (等线字体) rather than SimSun. By the way, if I changed Time New Roman to Courier. It works. Courier is a kind of monospace font. Does the font type matter? Anyway, I want to know whether my idea is feasible in SAS. The following is my program sample. I program in an unicode session and both kinds of fonts have been registered in SAS. Many thanks for your help in advanced! proc template;
define style MyStyle;
parent = styles.Printer;
class fonts /
'TitleFont' = ("'Times New Roman',Simsun",10.5pt,Bold)
'TitleFont2' = ("'Times New Roman',Simsun",10.5pt,Bold)
'StrongFont' = ("'Times New Roman',Simsun",10.5pt,Bold)
'EmphasisFont' = ("'Times New Roman',Simsun",10.5pt,Italic)
'FixedEmphasisFont' = ("'Times New Roman',Simsun",10.5pt,Italic)
'FixedStrongFont' = ("'Times New Roman',Simsun",10.5pt,Bold)
'FixedHeadingFont' = ("'Times New Roman',Simsun",10.5pt,Bold)
'BatchFixedFont' = ("'Times New Roman',Simsun",10.5pt)
'FixedFont' = ("'Times New Roman',Simsun",10.5pt)
'headingEmphasisFont' = ("'Times New Roman',Simsun",10.5pt,Bold Italic )
'headingFont' = ("'Times New Roman',Simsun",10.5pt,Bold)
'docFont' = ("'Times New Roman',Simsun",10.5pt)
;
end;
run;
data test;
a = "你好, 世界";
b = "Hello, world!";
run;
options nonumber nodate;
ods rtf file="test.rtf" style=MyStyle;
proc report data=test;
run;
ods rtf close;
... View more
I am building models whose dependent variable (1) is zero-inflated (or, in the econometric literature, "limited"); (2) is continuous in nature and (3) follows a lognormal distribution in the non-zero part.
I have reviewed the literature and found that a two part model maximizing a joint likelihood might be suitable. The problem is that this process does not seem to be supported by built-in procedure of SAS. So I decide to formulize the joint likelihood and let SAS maximize it and report the results.
I am not going into the details of this joint likelihood, but in case someone needs to know it, I will mention it briefly. The joint likelihood concerns the product of the probability that a given sample point exceeds zero and the expected value of that sample point given that it has exceeded zero.
Is there anyway I can tailor my likelihood function to maximize with built-in SAS procedures? References on this issue are also welcome.
Thank you!
... View more